390 likes | 662 Views
New Tools & Ideas for Buildings 2.0. IEC 61131 for Building Automation. Bill Lydon – Managing Director PLCopen North America. Jim Desrosiers – Data Acuity, Inc. PLCopen Member Company. Data Acuity, Inc. www.dataacuity.com jimd@dataacuity.com. PLCopen North American www.plcopen-na.org
E N D
New Tools & Ideas for Buildings 2.0 IEC 61131 for Building Automation
Bill Lydon – Managing Director PLCopen North America Jim Desrosiers – Data Acuity, Inc.PLCopen Member Company Data Acuity, Inc. www.dataacuity.com jimd@dataacuity.com PLCopen North American www.plcopen-na.org blydon@plcopen-na.org
PLCopen Founded in 1992 – Worldwide Organization Vendor Independent - Not for Profit Organization Focus – Open Controls Programming Standards Primary IEC 61131 & Extensions PLCopen is dedicated to improving the automation programming efficiency and productivity of control engineers.
PLCopen Members ABB altus ATOS ATS International Automaton Tooling Systems Baumuller Beckhoff Berger Lahr Rexroth Bosch Group B&R Control Techniques Danfoss Digital Electronics Elau Fuji Electric Japan G&L Motion Control HIMA Honeywell ICS Triplex ISaGRAF Info team Software Industrielle Steuerungstechnik KEBA kirchner SOFT KUKA KW Software LENZE Panasonic ESR Pollmeier GmbH Mitsubishi Electric Nyquist Industrial Control OMRON ORMEC Parker Automation Philip Morris Phoenix Contact Rockwell Automation 3 S Scneider Automation Selectron Systems AG SEW Eurodrive SICK Siemens Softing SMS Demag AG Stober Antriebstechnik TEAM Teco Tevopharm B.V Valiosys Group TOSHIBA TRICONEX YOKOGAWA
PLCopen Worldwide Organization Japan Europe China North America
IEC 61131 will be described later in this presentation! What is IEC 61131-3 Global Standard: Common Control Programming Software Language and Software Model • IEC = International Electrotechnical Commission • World Standards Organization Founded in 1906 • Electrical & Electronic International Standards • Over 50 Participating Countries 1986 Controls Programming Standard Started 1993 IEC 61131 Standard Published 2003 Second Edition Other improvements since.
Intelligent Building Automation Building Automation with IEC 61131 Microsoft Headquarters, Munich, Germany • 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 Courtesy of PLCopen Member Company
Building Automation with IEC 61131 Eurotheum (European Central Bank), Frankfurt, Germany • Standard IEC 61131 Programming • Remote Maintenance • Fault Diagnostics • Robust PC Technology IT-Port, Unterschleißheim near Munich, Germany • Standard IEC 61131 Programming • Standard Ethernet • 22,000+ I/O Points Courtesy of PLCopen Member Company
New Tools & Ideas for Buildings 2.0 IEC 61131 for Building Automation IEC 61131 makes sense for Building Automation for the same reasons industrial users prefer IEC 61131.
IEC 61131 ImprovesLife Cycle Cost of Control Software Development Design Maintenance Specification Commissioning Risk Analysis Integration Verification Refining Coding Testing
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 Automation Trends Open Architecture Simplifies Automation (Just as it has in the computer industry.) IEC-61131-3 – Open Programming PLCopen -Applications & Extension
Software Language Progression Building Automation Computer Industry Industrial Controls Open Open Visual Procedural Assembler Machine Language • Languages Today • IEC 61131-3 • Function Blocks • Ladder • Sequential Charts • Instruction List • Structured Text • Languages Today • Visual Basic • Visual C • C++ • Java Proprietary Proprietary
Tough to Deploy IEC 61131-3Industrial Control Programming Standardizes Controls Programming
IEC 61131-3Industrial Control Programming ... support for people with different backgrounds
The 6 parts of the IEC 61131 Standard PLCopen Standardization in Industrial Control programming • 61131-1 General Overview, Definitions • 61131-2 Hardware • 61131-3 Programming Languages • 61131-4 User Guidelines • 61131-5 Messaging Service Specification • 61131-7 Fuzzy Logic • IEC 61499 – Distributed Applications
IEC 61131-3 Software Model Task Task Task Task Configuration (Project) Resource (HW) Resource (HW) Program Program Program Program Data Access path FB FB FB FB FB FB FB FB Global and Direct Variables / I/O Systems
BOOL REAL & LREAL INTEGER STRING TIME ARRAY IEC 61131-3 : Common ElementsVariables & Data types • Symbolic representation via labels • Restricted area for I/O mapping • Hardware independent code • Higher transparency & readability • Less errors Defined Data Types VENDOR DEFINED USER DEFINED STRUCTURES
IEC 61131-3 Languages Ladder Diagram (LD) Function Block Diagram (FBD) Sequential Function Chart (SFC) Structured Text (ST) Instruction List (IL)
Ladder Diagram (LD) • Standardized set of relay ladder programming symbols and terminology • Electrical Flow • Large base of users • Boolean equations • Easy rules A B C -| |--|/|----------------( )
LD A AND B ST C Instruction List (IL) • Single accumulator based execution model • Low Level Programming • One operation such as storing a value in the accumulator register, is allowed per line
C:= A AND NOT B If A = FALSE THEN ... CASE Select OF .... Structured Text (ST) • High level language, block structured • Syntax resembles PASCAL, C, C+ • Complex statements and nested instructions possible • Support for • Iteration loops (REPEAT-UNTIL; WHILE-DO) • Conditional execution (IF-THEN-ELSE; CASE) • Functions (SQURT(); SIN())
AND A C B Function Block Diagram (FBD) • Graphical Language • Allows Program elements which appear as blocks to be “wired” together in a form analogous to a circuit diagram • Used in many applications that involve the flow of information or data between control components
Step 1 Action 1 Action 2 Transition Step 2 Action 1 Transition Sequential Function Chart (SFC) • Technological programming language for describing sequential controls • Structured program draft • Description of the process with steps and transitions • Clear, easy to understand • Application examples • Presses • Productions lines • Process technology • Packaging technology • Machine tools • Batch Process Control – S88
IDE - Integrated Design Environment (IDE) • Multiple Automation and Control Disciplines • Process Design • Logic Simulation • Automatic Documentation • Engineering Tools • Online Debug Environment • Breakpoints • Watch Windows • Strip chart Recorder • Integrated HMI IEC 61131 Controller
Function Block… Self Contained Building Blocks • Function Block • Explicit Data • Variables • Tag Names • Logic • Actions/Calculations Inputs Outputs Perfect for Building Automation
Function Block… Self Contained Building Blocks • Function Examples • And, Or, Xor • PID • Square Root • Add, Subtract, etc. Inputs Outputs
Function Block… Self Contained Building Blocks Send Email Serve UP WEB Pages Dial Up Cell Phone Send Messages (SMS) Send SOAP Messages Send XML Messages Inputs Outputs
Encapsulation BUILD YOUR OWN FUNCTIONS User Created Object Inputs Outputs Built from standard blocks ...
Ladder Logic Function Block Instruction List Build your own function blocks with Ladder Logic, Instruction List, or Structured Text Structured Text Your Own Function Blocks Create Your Own Standards Reuse Tested Code Easily Understood Self Documenting Password Protect Your Function Blocks Run In the Controller You Add Functions to the Controller!
IEC-61131 Advantages • Significantly Better Price/Performance • Leverages Existing Staff • Common Training • Collaborative Engineering • Lower Implementation Cost • Lower Maintenance Cost • Easily Scaled to Needs • Higher Quality Lower Total Cost of Ownership
PLCopen TC3 : Certification …without testing there is no standard…
XML formats for IEC 61131-3 PLCopen TC6 : XML Open Development Interface IEC Language XML Schemas
What's next? IEC 61499 – Open Distributed Systems • Distributed application standard • Encapsulates IEC 61131-3 Program Organization Units (POU) • Normative event signals: INIT, RSP, REQ • Library of function blocks • IEC61499 Function block view • Automatic binding between resources
Bill Lydon, Managing Director North America email: blydon@plcopen-na.org Phone 414-427-5853 PLCopen North America www.plcopen-na.org • Free Electronic Newsletter • News • Information • Resources Data Acuity, Inc. www.dataacuity.com • Representation and Consulting to Automation Software Companies Jim Desrosiers, President email: jimd@dataacuity.com Phone 603-929-9130