You are on page 1of 2

Int J Adv Manuf Technol (2007) 35:527–540

DOI 10.1007/s00170-007-1127-4

ORIGINAL ARTICLE

Automatic generation of PLC automation projects


from component-based models
Elisabet Estévez & Marga Marcos & Darío Orive

Received: 9 January 2007 / Accepted: 12 June 2007 / Published online: 18 July 2007
# Springer-Verlag London Limited 2007

Abstract Industrial process measurement and control sys- 1 Introduction


tems (IPMCS) are used in most of the industrial sectors
to achieve production improvement, process optimization Industrial control systems are a special type of computer
and time and cost reduction. Integration, reuse, flexibility and system that control physical devices by means of control logic
optimization are demanded to adapt to a rapidly changing and and sequences. Besides, they usually have to respond to
competitive market. In order to achieve these goals, the use of external events coming from the environment they control.
standards in the application field, methodologies for defining They use programmable logic controllers (PLCs), industrial
the application design and tools for supporting the develop- communication systems (fieldbus), and dedicated I/O devices
ment cycle are needed. This paper proposes a component- to meet the operational requirements. As a computer system,
based model of the implementation of the control system its design deals with the definition of the software architecture,
under design (the hardware and software architectures). The which implements the control strategies. Traditionally, each
software architecture is defined to follow the software model control equipment vendor offered a development system
of the IEC 61131-3 standard for programming programmable based on proprietary software architecture and programming
logic controllers and the hardware architecture is composed languages. To promote the use of standards for this application
by equipment characterised by vendor and range of product. field, international organisations are making a huge effort.
The proposed modelling is implemented as a markup PLCOpen [1] was founded in 1992 and it is a vendor- and
language that allows to describe models of industrial control product-independent worldwide association whose mission
systems (icsML). From the application model, described in is to be the leading association resolving topics related to
the markup language, the automation project for every control programming to support the use of international
programmable logic controller (PLC) present in the applica- standards in this field. The International Electrotechnical
tion is automatically generated. Commission (IEC) promotes open systems to be used in the
industrial control field. The IEC 61131-3 standard [2, 3]
Keywords Industrial control systems . Component-based proposes a software model and programming languages for
modelling . Model-driven development . IEC 61131-3 . industrial process measurement and control systems
XML technologies (IPMCS). Most of the PLC manufacturers are aiming to
become IEC 61131-3 standard compliant. PLCopen has
defined different compliance levels (base and conformity)
E. Estévez (*) : M. Marcos : D. Orive and many companies are certified. For instance, Schneider
Department of Automatic Control and Systems Engineering, Electric, Rockwell Automation ICS Triplex ISaGRAF,
University of the Basque Country,
Infoteam, KW Software, Mitsubishi Electric, Panasonic,
Alda Urquijo S/N,
48013 Bilbao, Spain and Smart Software Solutions, among others. The Automa-
e-mail: elisabet.estevez@ehu.es tion Alliance [4] is constituted by companies of the
M. Marcos automation industry such as ABB or WAGO, whose
e-mail: marga.marcos@ehu.es hardware devices are all programmed with the same IEC
D. Orive 61131-3 programming system [5]. Most of them, among
e-mail: dario.orive@ehu.es other manufacturers, belong to the PLCopen organisation.
528 Int J Adv Manuf Technol (2007) 35:527–540

As the industry reaches a greater maturity level and requirements by building systems with existing components
applications increase in complexity, a consolidation of and connectors. Some attempts have been done by different
methodologies, which allow system description and definition authors towards the use of well-known modelling lan-
before its construction, becomes necessary. In [6], an guages for designing industrial process measurement
interesting review of the information systems and production control systems (IPMCS). [13, 14] propose the use of the
system environments is presented. It also shows how the unified modelling language (UML) [15, 16] for specifying
information system methodologies have been transferred to components of control systems following the IEC 61131-3
production systems. The application of consolidated infor- standard. Both approaches apply Object-Oriented technol-
mation systems technologies and methodologies to produc- ogy to model industrial automation applications. However,
tion systems is still a current practice. In this sense, it is not clear if the resulting models are analysed in terms
component-based software engineering (CBSE) is a relative- of consistency of POUs (program organization units)
ly new software engineering approach that has been proven functionality modelled in UML. Furthermore, the papers
to be very powerful in the design of software intensive do not explain if these models could be imported from a
systems [7, 8]. In [9] a component technology specifically for PLC programming tool in order to download the automa-
field devices is proposed. Other interesting work is described tion project onto the target. In [17] a model-based approach
in [10], where a model for prediction and consistency is proposed that uses two views to describe the design of
checking of extra-functional properties relevant to distributed manufacturing systems: the conceptual view and the control
real-time control-systems is developed and implemented. engineer view. They also use UML to guide the design of
This paper deals with applying the CBSE concepts to the system. In particular, they analyse the system behaviour
define a component-based approach as applied to industrial before its implementation using the potentiality of UML
control systems. Components and connectors for defining diagrams. But, they do not support automatic code
the hardware and software architectures are identified, as generation.
well as the composition rules they must fulfilled in order to There are other works that focus on the design of
describe industrial control applications. The component- applications using the IEC 61131 standard. [18] proposes a
based approach is implemented as a markup language. methodology for the analysis and modelling of discrete
XML technologies [11, 12] have been used not only for event systems applied to the development of the control
defining the elements of the language but also for logic based on the IEC 61131-3 standard. This methodol-
implementing the check rules that assure the fulfilment of ogy is offered jointly with a tool that provides an IEC
the constraints imposed by the architectural style. Finally, 61131-3 program expressing the execution control of the
related XML technologies are used for filtering, processing application.
and formatting the complete application model in order to Related to distributed industrial control systems, the
generate the automation project for the target commercial evolving IEC 61499 standard [19, 20] is being discussed as
tool. Different cases arise depending on the target tool a successor of the IEC 61131 standard. Currently, there is a
storage format. The steps to follow and the different XML great interest in analyzing the influence of the new standard
technologies for every case are presented. in industry, as well as its convergence with the IEC 61131-3
Section 2 is devoted to related work aiming at modelling standard. Several groups are focussed their research in this
industrial control applications. In Sect. 3, a novel approach topic. [21] discusses the role of the IEC 61499 in the
for modelling industrial control application is proposed, in factory automation and analyses the current on going
terms of hardware and software components and connec- research by several groups. [22–24] describe a framework
tors. In Sect. 4 a markup language for describing such type called CORFU (common object-oriented real-time frame-
of applications is proposed. Section 5 details the automatic work for the unified development of industrial control
generation of the automation project from the application systems application) that defines an industrial process-
model. Finally, the conclusions section points out future control protocol for the development, distribution, and
extensions of this work. In particular, the use of other XML operation of such type of applications based on IEC 61499
technologies that could be used for developing a model Function Blocks. The design is object oriented and uses
based framework aiming at integrating the tools involved in UML to define a 4-layered architecture for designing such
the design of industrial control applications. type of systems [25].
There are very few commercial-off-the-shelf-tools that
are IEC 61499 compliant. In fact, only ISaGRAF® PLC
2 Related work programming tool [26] announces it is.
However, nowadays most of the PLC manufacturers
The component based strategy aims at managing complex- offer programming tools that follow the IEC 61131-3
ity, shortening time to-market, and reducing maintenance standard, and in most cases, they provide a proprietary

You might also like