Transcript Slide 1

New Tools & Ideas for Buildings 2.0
IEC 61131 for Building Automation
2007 Chicago
Jim Desrosiers – Data Acuity, Inc.
PLCopen Member Company
Data Acuity, Inc.
www.dataacuity.com
[email protected]
Bill Lydon – Managing Director PLCopen North America
PLCopen North American
www.plcopen-na.org
[email protected]
PLCopen WWW.PLCopen-NA.org
2007 Chicago
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 WWW.PLCopen-NA.org
2007 Chicago
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
PLCopen WWW.PLCopen-NA.org
Rockwell Automation
3S
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
2007 Chicago
PLCopen Worldwide Organization
Europe
China
PLCopen WWW.PLCopen-NA.org
Japan
North America
2007 Chicago
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.
PLCopen WWW.PLCopen-NA.org
IEC 61131 will be
described later in this
presentation!
2007 Chicago
Building Automation with IEC 61131
Microsoft Headquarters, Munich, Germany
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
PLCopen WWW.PLCopen-NA.org
2007 Chicago
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
PLCopen WWW.PLCopen-NA.org
2007 Chicago
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.
PLCopen WWW.PLCopen-NA.org
2007 Chicago
IEC 61131 Improves
Life Cycle Cost of Control Software Development
Design
Maintenance
Specification
Commissioning
Risk Analysis
Integration
Verification
Refining
Testing
PLCopen WWW.PLCopen-NA.org
Coding
2007 Chicago
Automation Trends
Controls Engineers Role Broadening
• Adaptable - Sophisticated Applications
• Efficiency
- Control to
Optimize Processes
Open
Architecture
Simplifies
Automation
• Enterprise
– Integration
to IT Systems industry.)
(Just
as it has
in the computer
•IEC-61131-3
Maintainable - Real-time
Maintenance
Data
– Open
Programming
• Commissioning
– Distributed Systems,
Wireless
PLCopen
-Applications
& Extension
• Resources - Collaborative Engineering
PLCopen WWW.PLCopen-NA.org
2007 Chicago
Software Language Progression
Building Automation
Computer Industry
Languages Today
•Visual Basic
•Visual C
•C++
•Java
Industrial Controls
Visual
Procedural
Languages Today
IEC 61131-3
• Function Blocks
• Ladder
• Sequential Charts
• Instruction List
• Structured Text
Assembler
Machine Language
PLCopen WWW.PLCopen-NA.org
2007 Chicago
IEC 61131-3
Industrial Control Programming
Tough to
Deploy
Standardizes Controls Programming
PLCopen WWW.PLCopen-NA.org
2007 Chicago
IEC 61131-3
Industrial Control Programming
... support for people
with different backgrounds
PLCopen WWW.PLCopen-NA.org
2007 Chicago
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
PLCopen WWW.PLCopen-NA.org
2007 Chicago
IEC 61131-3 Software Model
Task
Task
Task
Task
Program
Program
Program
Program
FB FB
FB FB
FB FB
FB FB
Global and Direct Variables / I/O Systems
PLCopen WWW.PLCopen-NA.org
Data Access path
Configuration (Project)
Resource (HW)
Resource (HW)
2007 Chicago
IEC 61131-3 : Common Elements
Variables & Data types
Symbolic representation via labels
Restricted area for I/O mapping
Hardware independent code
Higher transparency & readability
Less errors
Defined Data Types
BOOL
STRING
REAL & LREAL
TIME
INTEGER
ARRAY
VENDOR DEFINED
USER DEFINED
STRUCTURES
PLCopen WWW.PLCopen-NA.org
2007 Chicago
IEC 61131-3 Languages
Ladder Diagram (LD)
Function Block Diagram (FBD)
Sequential Function Chart (SFC)
Structured Text (ST)
Instruction List (IL)
PLCopen WWW.PLCopen-NA.org
2007 Chicago
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
-| |--|/|----------------( )
PLCopen WWW.PLCopen-NA.org
2007 Chicago
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
LD
A
AND
B
ST
C
PLCopen WWW.PLCopen-NA.org
2007 Chicago
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())
C:= A AND NOT B
If A = FALSE THEN ...
CASE Select OF ....
PLCopen WWW.PLCopen-NA.org
2007 Chicago
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
AND
A
B
PLCopen WWW.PLCopen-NA.org
C
2007 Chicago
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
Step 1
Action 1
Action 2
Transition
Application examples
Presses
Productions lines
Process technology
Packaging technology
Machine tools
Batch Process Control – S88
PLCopen WWW.PLCopen-NA.org
Step 2
Transition
Action 1
2007 Chicago
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
IEC 61131 Controller
Integrated HMI
PLCopen WWW.PLCopen-NA.org
2007 Chicago
PLCopen WWW.PLCopen-NA.org
2007 Chicago
Function Block…
Self Contained Building Blocks
Inputs
Function Block
•Explicit Data
• Variables
• Tag Names
• Logic
• Actions/Calculations
Perfect for Building Automation
PLCopen WWW.PLCopen-NA.org
Outputs
2007 Chicago
Function Block…
Self Contained Building Blocks
Inputs
Function Examples
•And, Or, Xor
• PID
• Square Root
• Add, Subtract, etc.
PLCopen WWW.PLCopen-NA.org
Outputs
2007 Chicago
Function Block…
Self Contained Building Blocks
Inputs
Send Email
Serve UP WEB Pages
Dial Up Cell Phone
Send Messages (SMS)
Send SOAP Messages
Send XML Messages
PLCopen WWW.PLCopen-NA.org
Outputs
2007 Chicago
Encapsulation
BUILD YOUR OWN FUNCTIONS
Inputs
User Created
Object
Outputs
Built from standard blocks ...
PLCopen WWW.PLCopen-NA.org
2007 Chicago
Ladder Logic
Instruction List
Structured Text
Create Your Own Standards
Reuse Tested Code
Build your own function
Easily
Understood
blocks with Ladder
Logic,
Your
Function Blocks
Run
Self Documenting
Instruction List, or In the Controller
Password Protect
Structured Text
You Add Functions to the Controller!
Your Own
Function
Blocks
PLCopen WWW.PLCopen-NA.org
Function Block
2007 Chicago
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 WWW.PLCopen-NA.org
2007 Chicago
PLCopen Activities
Conformity
Reusability
Safety
PLCopen WWW.PLCopen-NA.org
XML Portability
Motion Control
Cyber Security
2007 Chicago
PLCopen TC3 : Certification
…without testing there is no standard…
PLCopen WWW.PLCopen-NA.org
2007 Chicago
PLCopen TC6 : XML
Open Development Interface
XML formats for IEC 61131-3
IEC Language
XML Schemas
PLCopen WWW.PLCopen-NA.org
2007 Chicago
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
PLCopen WWW.PLCopen-NA.org
2007 Chicago
What's next?
IEC 61499 – Open Distributed Systems
PLCopen WWW.PLCopen-NA.org
2007 Chicago
PLCopen North America
www.plcopen-na.org
• Free Electronic Newsletter
• News
• Information
• Resources
Bill Lydon, Managing Director North America
email: [email protected]
Phone 414-427-5853
Data Acuity, Inc.
www.dataacuity.com
• Representation and Consulting to Automation Software Companies
Jim Desrosiers, President
email: [email protected]
Phone 603-929-9130
PLCopen WWW.PLCopen-NA.org