Page 1
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 1/25
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
JHC/2001-04-03 p. 1
presented at: IEC Workshop on Automation Objects
Geneva, Switzerland2001-04-03
by: JAMES H. CHRISTENSEN , Ph.D.Senior Principal Engineer
Rockwell [email protected]
Open Distributed Automation and Controlwith IEC 61499
Open Distributed Automation and Controlwith IEC 61499
Page 2
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 2/25
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
JHC/2001-04-03 p. 2
Open Distributed Automation and Controlwith IEC 61499
Open Distributed Automation and Controlwith IEC 61499
• Background
• Architecture
• Object Models• Software Tool Requirements
• Status and Future
Page 3
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 3/25
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
JHC/2001-04-03 p. 3
Distributed Automation:
An Architectural Dialectic
Distributed Automation:An Architectural Dialectic
distributability
agility
programmability
agility
agilitydistributabilityconfigurabilityprogrammability
Agile
Manufacturing
Function Blocks
IEC 61499
PLCIEC 61131-3
CentralizedProgrammableConfigurable
DCS
IEC 61804
Thesis
Antithesis
DistributedConfigurable
Synthesis
Page 4
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 4/25
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
JHC/2001-04-03 p. 4
IEC 61131-3: Modern (1993) Software
Engineering for Automation and Control
IEC 61131-3: Modern (1993) Software
Engineering for Automation and Control
• Encapsulation/Reuse Mechanisms
– Function Blocks, Functions, Data Types, Programs• Application-adapted Languages
– Ladder Diagram (LD) for logic control (“power flow”)
– Function Block Diagram (FBD) for regulatory control (“data flow”)
– Sequential Function Chart (SFC) for state-machine control
– Structured Text (ST) for information processing
– Instruction List (IL) for assembly-level programming
• A Mature, Internationally Adopted Standard – First edition: 1993
– Second edition: 2001
Page 5
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 5/25
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
JHC/2001-04-03 p. 5
Function Blocks: Object-Oriented
Encapsulation and Reuse in IEC 61131-3
Function Blocks: Object-Oriented
Encapsulation and Reuse in IEC 61131-3
Control Algorithm Specification
External Interface Specification
INBOOL
DB_TIMETIME
OUT BOOL
DEBOUNCE
DB_FF
S1
R
Q1OFF_TMR
TON
IN
PT
Q
ET
OUT
DB_TIME
IN IN
PT
Q
ET
TON
ON_TMR
SR
IN
PT
Q
ET
TON
OFF_TMR
ON_TMR
TON
IN
PT
Q
ET
| |
IN
|/|IN
(R)OUT
(S)
OUT
DB_TIME
DB_TIME
Page 6
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 6/25
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
JHC/2001-04-03 p. 6
Centralized System Configuration in IEC 61131-3Centralized System Configuration in IEC 61131-3
CONFIGURATION
RESOURCE
TASK TASK
PROGRAM PROGRAM
FB FB
RESOURCE
TASK TASK
PROGRAM PROGRAM
FB FB
GLOBAL and DIRECTLY
ACCESS PATHS
REPRESENTED VARIABLES
Communication function
Page 7
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 7/25
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
JHC/2001-04-03 p. 7
Distributed Configuration in Fieldbus Systems(Physical View)Distributed Configuration in Fieldbus Systems(Physical View)
Control RoomPC
H1 FieldbusSegment # 1
H1 Fieldbus
Segment # 2
CV-101A/O
IP102
20
19
21
AT107A
LT101
AT107B
TT105
AT106
Re-Burned
Lime
LT108
Purchased
Lime
LT112
GreenLiquorStorage
IP104A
IP104B
Heater Cooler
LT111
SC111
SC112
SC108
DT109
FT110
SC110
TT104
FT102
AT103
24
25
23
22
H1 FieldbusSegment # 3
Page 8
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 8/25
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
JHC/2001-04-03 p. 8
Distributed Configuration in Fieldbus Systems
(Logical View)
Distributed Configuration in Fieldbus Systems
(Logical View)
AI ISEL PID
AIAI
PID RATIO
AI
AO
CV-102A/O
Conductivity
PID AOAI LL
FIC102
AT107B
AT107A
AT106
AT103
IP102FT102
SC103 HS
107
AIC107
AC106
FRC103
AY103
AT107A
AT107B HS107 AIC107 AIC106 FRC103 SC103
IP102FIC102FT102
AT106
AY103AT103
Page 9
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 9/25
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
JHC/2001-04-03 p. 9
Basic Concepts of IEC 61499Basic Concepts of IEC 61499
• Distributed applications
• Object-oriented softwareencapsulation and reuse
• Event and data interfaces
• Event-driven state machines
• Service interfaces
• Management services• Software portability
Page 10
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 10/25
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
JHC/2001-04-03 p. 10
System Architecture for Distributed ApplicationsSystem Architecture for Distributed Applications
Event flow
Data flow
Communication network(s)
Device 2 Device 3 Device 4Device 1
Application A
Appl. C Application B
Controlled process
Page 11
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 11/25
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
JHC/2001-04-03 p. 11
Device ArchitectureDevice Architecture
• Device = Container for Resources
• Device provides Communications & Process Interfaces
Communication link(s)
Resource x
Controlled process
Resource zResource y
Application BApplication C
Application A
Device boundaryCommunication interface(s)
Process interface(s)
Page 12
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 12/25
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
JHC/2001-04-03 p. 12
Resource ArchitectureResource Architecture
• Resource schedules & executes FB algorithms
• Resource maps Communications & Process I/OFunctions to Service Interface Function Blocks
FunctionBlock
Local application(or local part of distributed application)
Communication mapping
Communication functions
Process I/O functions
Process mapping
Data
Events
Service
Algorithm
Scheduling Function
InterfaceFunction
Block
ServiceInterface
Page 13
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 13/25
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
JHC/2001-04-03 p. 13
Event and Data InterfacesEvent and Data Interfaces
Data outputsData inputs
Event outputsEvent inputs
Data flow
Event flow
Event/Data
Associations
Event flow
Data flow
Page 14
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 14/25
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
JHC/2001-04-03 p. 14
Event-Driven Execution ControlEvent-Driven Execution Control
Execution control
function
Scheduling function
Algorithm
2 8
1
5
4 63
7
= sampling
Page 15
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 15/25
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
JHC/2001-04-03 p. 15
Encapsulation and Reuse:
Basic Function Block Types
Encapsulation and Reuse:
Basic Function Block Types
Output variablesInput variables
Event inputs Event outputs
Algorithms
Type identifier
(IEC 1131-3)
Internalvariables
ExecutionControlChart
Page 16
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 16/25
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
JHC/2001-04-03 p. 16
Software Encapsulation and Reuse:
Composite Function Block Types
Software Encapsulation and Reuse:
Composite Function Block Types
Output variablesInput variables
Event inputs Event outputs
Type identifier
ExecutionControl
• Functional composition• Reusable• Atomic (not distributable)
– "subapplications" are distributable
Page 17
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 17/25
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
JHC/2001-04-03 p. 17
Adapter InterfacesAdapter Interfaces
adapter connection
EI EO
DI DO
EIEO
DIDO
provider acceptor
socket plug
• Reduce diagram clutter
• Simplify transducer interface
• Capture patterns of interaction
O D S R B D O O D CO RO C
Page 18
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 18/25
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
JHC/2001-04-03 p. 18
Open Distributed Automation and Controlwith IEC 61499
Open Distributed Automation and Control
with IEC 61499
• Background
• Architecture
• Object Models
• Software Tool Requirements
• Status and Future
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
Page 19
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 19/25
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
JHC/2001-04-03 p. 19
System Management ModelSystem Management Model
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
Page 20
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 20/25
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
JHC/2001-04-03 p. 20
Software Tool ModelsSoftware Tool Models
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
Page 21
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 21/25
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
JHC/2001-04-03 p. 21
Open Distributed Systems: The IEC 61499 VisionOpen Distributed Systems: The IEC 61499 Vision
ProjectRepository
SoftwareTools
DeviceNet EDSsFieldbus DDsIEC 61915ISO 15745ISO 10303
etc.
Libraries:IEC 61499IEC 61131-3
import
XML
PORTABILITY
Standard management protocols ==> CONFIGURABILITY
Standard data transfer protocols ==> INTEROPERABILITY
Distributed intelligent devices & controllers
KEY:Existing & Normative in IEC 61499Existing but non-Normative in IEC 61499To be defined or implementation-dependent
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
Page 22
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 22/25
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
JHC/2001-04-03 p. 22
Software Tool Requirements (1)Software Tool Requirements (1)
• Information to be provided by tool supplier – Applicable library element type(s) – Engineering task(s) supported
• Exchange of library elements – via XML per defined DTDs for:» data types» other library elements
• Information to be provided by library element supplier
– sufficient to enable the user to fully determine functionality – at a minimum, event + data interfaces + service specification – IP protection allowed when element implementation is provided
• Display of declarations – in a form appropriate to the engineering task
• Modification of declarations – as appropriate to the engineering task
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
Page 23
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 23/25
O O O O O 99
JHC/2001-04-03 p. 23
Software Tool Requirements (2)Software Tool Requirements (2)
• Validation of declarations – as required by the associated engineering task – examples:
» syntax checking
» semantic checking» simulation and testing, individually and in combinations
• Implementation of declarations – as required by the associated engineering task – examples:
» production of executable code ("firmware")» creation and interconnection of function block instances
in devices and resources
• System operation, testing and maintenance – as required by the associated engineering task – examples:
» facilities described above» configuration/operation of information interchange» management services
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
Page 24
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 24/25
JHC/2001-04-03 p. 24
IEC Project 61499 Status & FutureIEC Project 61499 Status & Future
• PASs (Publicly Available Specifications) – IEC PAS 61499-1, Architecture
– IEC PAS 61499-2, Software tool requirements
• Ongoing Work – 61499-3, Application guidelines
– (to be proposed) 61499-4, Rules for compliance profiles
• 2-year trial use period – Incorporate lessons learned from trial implementations
– Parts 1,2 CDVs projected: 2003-10-01
OPEN DISTRIBUTED AUTOMATION AND CONTROL WITH IEC 61499
Page 25
8/3/2019 C10-IEC61499
http://slidepdf.com/reader/full/c10-iec61499 25/25
JHC/2001-04-03 p. 25
First Feasibility Demonstration:Kitakyushu City, Japan, 2000-10-20
First Feasibility Demonstration:Kitakyushu City, Japan, 2000-10-20
Operator Interface + Logging
HIgh-Level Control, Monitoring + Diagnostics
Machine Control
Machine #2
High-level Service Interfaces
Control-level Service Interfaces
I/OServiceInterfaces
Machine #1
Simulation
Machine Control Machine Control