AN APPROACH TO OBTAIN A PLC PROGRAM FROM A DEVS
MODEL
Hyeong T. Park, Kil Y. Seong, Suraj Dangol, Gi N. Wang and Sang C. Park
Department of Industrial Information & Systems Engineering, Ajou University, Korea
Keywords: Programmable Logic Controller(PLC), DEVS, Factory Automation, Simulation.
Abstract: Proposed in the paper is an approach to generate the PLC code from the Discrete Event System
Specification (DEVS) model. DEVS have been widely accepted to model the real system for the discrete
event system simulation. The objective of this paper is to generate PLC control code from the DEVS model.
To achieve it, this paper proposes two steps. First step is to convert the real system into the virtual model
using the ‘three-phase-modeling procedure’. In the second step, the obtained model is formalized with
DEVS formalism. The final model consists of different components, among them the State manager and the
Flow controller model plays vital role to generate PLC code. In this paper, proposed steps are described
with a work cell example.
1 INTRODUCTION
To survive and prosper in the modern manufacturing
era, a manufacturing company should be capable of
adapting reduced life cycle of products in a
continuously changing market place. Simulation is a
useful tool for manufacturers to adapt this kind of
rapidly changing market to design and analyze
complex systems that are difficult to model
analytically or mathematically (Choi, 2000).
Manufacturers who are using simulation can reduce
time to reach stable state of automated
manufacturing process by utilizing statistics, finding
bottlenecks, pointing out scheduling error etc... For
the simulation of manufacturing systems,
manufacturers have been using various simulation
languages, simulation software for example
ARENA, AutoMod. Most of traditional simulation
languages and softwares focus on the representation
of independent entity flows between processes; their
method is commonly referenced to as a transaction-
oriented approach. In this paper, we propose an
object-oriented approach that is based on the set of
object classes capable of modeling a behavior of
existing system components.
The object-oriented modeling (OOM) is a
modeling paradigm, that uses real world objects for
modeling and builds language independent design
organized around those objects (Rumbaugh, 1991).
Even though OOM has been widely known to be an
effective method for modeling complicated software
systems, very few researchers tried to apply the
OOM to design and simulate manufacturing system
software models. Based on the OOM paradigm,
different researchers have proposed various
modeling approaches despite the fact that they
express them in different ways with different
notations. For example, Choi et al. presented the JR-
net framework for modeling which is based on the
OOM paradigm of Rumbaugh et al., which is made
of three sub-models(an object model, functional
model, and dynamic model). Chen and Lu proposed
an object-oriented modeling methodology to model
production systems in terms of the Petri-nets, the
entity relationship diagram (ERD) and the IDEF0
(Chen, 1994). Virtual factory (VF) is also very
important concept to be considered in today’s
simulation environment. By using the OOM
paradigm, VF concept can be implemented
efficiently (Onosato, 1993).
Recently, Park (Park, 2005) proposed a ‘three-
phase-modeling framework’ for creating a virtual
model for an automated manufacturing system. This
paper employs the three-phase-modeling framework
of creating a virtual model, and the Discrete Event
System Specification(DEVS) (Zeigler, 1984) for
process modeling. The proposed virtual model
consists of four types of objects. The virtual device
model represents the static layout of devices. This
can be decomposed into the shell and core, which
87
T. Park H., Y. Seong K., Dangol S., N. Wang G. and C. Park S. (2008).
AN APPROACH TO OBTAIN A PLC PROGRAM FROM A DEVS MODEL.
In Proceedings of the Fifth International Conference on Informatics in Control, Automation and Robotics - RA, pages 87-93
DOI: 10.5220/0001492400870093
Copyright
c
SciTePress