Title: IEC 61131 for Building Automation
1IEC 61131 for Building Automation
New Tools Ideas for Buildings 2.0
2Bill Lydon Managing Director PLCopen North
America
Jim Desrosiers Data Acuity, Inc.PLCopen Member
Company
Data Acuity, Inc. www.dataacuity.com jimd_at_dataacui
ty.com
PLCopen North American www.plcopen-na.org blydon_at_
plcopen-na.org
3PLCopen
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.
4PLCopen Members
ABB altus ATOS ATS International Automaton
Tooling Systems Baumuller Beckhoff Berger
Lahr Rexroth Bosch Group BR Control
Techniques Danfoss Digital Electronics Elau Fuji
Electric Japan GL Motion Control HIMA
Honeywell ICS Triplex ISaGRAF Info team
Software Industrielle Steuerungstechnik
KEBA kirchner SOFT KUKA KW Software LENZE Panason
ic ESR Pollmeier GmbH Mitsubishi
Electric Nyquist Industrial Control OMRON ORMEC Pa
rker 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
5PLCopen Worldwide Organization
Japan
Europe
China
North America
6What 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.
7Microsoft Headquarters, Munich, Germany
Building Automation with IEC 61131
- Intelligent Building Automation
- 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
8Building 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
9IEC 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.
10IEC 61131 ImprovesLife Cycle Cost of Control
Software Development
Design
Maintenance
Specification
Commissioning
Risk Analysis
Integration
Verification
Refining
Coding
Testing
11Automation Trends
Open Architecture Simplifies Automation (Just as
it has in the computer industry.) IEC-61131-3
Open Programming PLCopen -Applications
Extension
12Software 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
13IEC 61131-3Industrial Control Programming
Standardizes Controls Programming
14IEC 61131-3Industrial Control Programming
... support for people with different
backgrounds
15The 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
16IEC 61131-3 Software Model
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
17IEC 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
18IEC 61131-3 Languages
Ladder Diagram (LD)
Function Block Diagram (FBD)
Sequential Function Chart (SFC)
Structured Text (ST)
Instruction List (IL)
19Ladder Diagram (LD)
- Standardized set of relay ladder programming
symbols and terminology - Electrical Flow
- Large base of users
- Boolean equations
- Easy rules
A B C -
--/----------------( )
20Instruction 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
21Structured 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())
22Function 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
23Sequential 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
24IDE - 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
25(No Transcript)
26Function Block Self Contained Building
Blocks
- Function Block
- Explicit Data
- Variables
- Tag Names
- Logic
- Actions/Calculations
Inputs
Outputs
Perfect for Building Automation
27Function Block Self Contained Building
Blocks
- Function Examples
- And, Or, Xor
- PID
- Square Root
- Add, Subtract, etc.
Inputs
Outputs
28Function 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
29Encapsulation
BUILD YOUR OWN FUNCTIONS
User Created Object
Inputs
Outputs
Built from standard blocks ...
30Create 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!
31IEC-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
32PLCopen Activities
Conformity Reusability Safety XML Portability Motion Control Cyber Security
33PLCopen TC3 Certification
without testing there is no standard
34PLCopen TC6 XML
Open Development Interface
- XML formats for IEC 61131-3
IEC Language XML Schemas
35What'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
36What's next? IEC 61499 Open Distributed Systems
37PLCopen North America
www.plcopen-na.org
- Free Electronic Newsletter
- News
- Information
- Resources
- Bill Lydon, Managing Director North America
- email blydon_at_plcopen-na.org
- Phone 414-427-5853
Data Acuity, Inc.
www.dataacuity.com
- Representation and Consulting to Automation
Software Companies
Jim Desrosiers, President email
jimd_at_dataacuity.com Phone 603-929-9130