dealing with the reconfigurationof these systems have
been proposed (Angelov et al., 2005; Rooker et al.,
2007; Al-Safi and Vyatkin, 2007) but they are limited
to particular cases (e.g. to resolve hardware faults or
to add new functionalities like the update of an al-
gorithm in a block) and they do not address all the
reconfiguration reasons that can possibly occur in in-
dustry. We define a new semantic of the reconfigura-
tion to improve th e system performance even if there
is no hardware fault and we characterize all possi-
ble reconfiguration forms that we can apply on a sys-
tem. To apply an automatic reconfiguration at run-
time, we propose thereafter an agent-based architec-
ture to handle reconfiguration scenarios bringing the
system into safe states. We model the agent accord-
ing to well suited formal formalism: the Net Con -
dition/Event Systems (denoted NCES) proposed by
Rausch and Hanisch in (Rausch and Hanisch, 1995).
We present in the next section the NCES formal-
ism and in Section3 the EnAS production system to
be used as an example in the paper. We define in Sec-
tion4 a new semantic of the reconfiguration before
we detail in Section5 all reconfiguration forms. Fi-
nally before conclusions, we present in Section6 the
Agent-based architecture to handle automatic recon-
figurations.
2 NCES FORMALISM
The formalism of Net Condition/Event Systems
(NCES) is an extension of the well k nown Petri net
formalism. It was introduced by Rausch and Hanisch
in (Rausch and Hanisch, 1995) and further developed
through the last years according to which a NCES is
a place-transition net formally represented by a tuple:
NCES =(P,T,F,CN ,EN,C
in
,E
in
,C
out
,E
out
,
B
c
,B
e
,C
s
,D
t
,m
0
) where,
(1) P (resp, T) is a non-empty finite set of places
(resp, transitions), (2) F is the set of flow arcs, F :
(PXT)
(TXP),(3)CN (resp, EN) is the set of con-
dition (resp, event) arcs, CN ⊆ (PXT) (resp, EN ⊆
(TXT)), (4) C
in
(resp, E
in
) is the set of condition
(resp, event) inputs, (5) C
out
(resp, E
out
)isthesetof
condition (resp, event) outputs, (6) B
c
(resp, B
e
)isthe
set of condition (resp, event) input arcs in a NCES
module, (7) B
c
⊆ (C
in
XT) (resp, B
e
⊆ (E
in
XT)), (8)
Cs (resp, Dt) is the set of condition (resp, event) out-
put arcs, (9) Cs ⊆ (PXE
out
) (resp, Dt ⊆ (TXE
out
)),
(10) m
0
: P → 0,1 is the initial marking.
The semantics of NCES are defined by the firing
rules of transitions. There are several conditions to be
fulfilled to enable a transition to fire. First, as it is in
ordinary Petri nets, an enabled transition has to have a
token concession. That means that all pre-places have
to be marked with at least one token . In addition to the
flow arcs from places, a transition in NCES may have
incoming condition arcs from places and event arcs
from other transitions. A transition is enabled by con-
dition signals if all source places of the condition sig-
nals are marked by at least one token. The other type
of influence on the firing can be described by event
signals which come to the transition from some other
transitions. Transitionshaving no incoming eventarcs
are called spontaneous,otherwiseforced. A forced
transition is enabled if it has token concession and it
is enabled by condition and event signals (Rausch and
Hanisch, 1995).
We note fin ally that the model-checker SESA is a
useful tool to verify functional and temporal proper-
ties on NCES (Rausch and Hanisch, 1995). We apply
it in our work to verify reconfigurablecontrol systems
following the standard IEC 61499.
3 INDUSTRIAL CASE STUDY
In this paper, we are interested in the manufactur-
ing system EnAS used as a demonstrator at the Mar-
tin Luther University of Halle (in Germany). This
system is implemented while f ollowing the standard
IEC61499 and it allows the transportation of pieces
from the production into storing units. The pieces
shall be placed inside tins to close with caps after-
wards
4
. Two different production strategies can be
applied : we place in each tin one or two pieces ac-
cording to production rates of pieces, tins and caps.
In this paper, we denote respectively by nb
pieces
,
nb
tins+caps
the production number of pieces, tins (as
well as caps) per hour. In the following, we denote
by Threshold a variable ( defined in specifications) al-
lowing to choose the adequate production strategy.
The EnAS system is mainly composed of a belt,
two Jack stations (J
1
and J
2
) and two Gripper stations
(G
1
and G
2
) (Figure 1). The Jack stations place new
produced pieces and to close tins with caps, whereas
the Gripper stations remove charged tins from the belt
into the storing units.
Initially, the be lt m oves a particular pallet contain-
ing a tin and a cap into the first Jack station J
1
.Ac-
cording to the production parameters, we distinguish
two cases,
4
For d etailed information on the EnAS system, we re-
fer the reader to our group website: http://at.informatik.uni-
halle.de
ICINCO 2008 - International Conference on Informatics in Control, Automation and Robotics
158