Professional Documents
Culture Documents
ARTCULO
Abstract. Control of manufacturing systems and discreteevent processes, having as main control device a Programmable
Logic Controller (PLC) where the control algorithm is developed
on Ladder Diagram (LD), is considered. LD, standardized by
IEC-61131-3, is one of the most used languages in industry;
however, this is empirically developed and has no validation in
order to provide reliability and security to the processes which it
controls. Petri Nets (PN) have been used to analyze, model and
simulate basic structures of LDs. This paper analyzes a case study
of the ladder diagram to control a packaging system of two
weighing scales with a single-discharge duct.
Index Terms Control Algorithm, Ladder Diagram, Petri
Nets, Programmable Logic Controller.
I. INTRODUCTION (INTRODUCCIN)
ARTCULO NO.
ARTCULO
A. Dynamical Behavior
In modeling, by using the concept of conditions and events,
places represent conditions and transitions represent events.
An event has a certain number of input and output places
representing the pre-condition and post-condition of the event,
respectively.
The behavior of many systems can be described in terms of
systems states and their changes. With the aim of simulate the
dynamical behavior of a system, a state or marking in a PN is
changed according to the following transition rule (trigger):
a) A transition t is enabled if each input place p of t is
marked with at least w(p,t) tokens; where w(p,t) is the arc
weight from p P to t T.
b) One enabled transition can be fired or not (depending on
if the current event occurs).
c) Firing an enabled transition t removes the tokens w(p,t)
from each input place p of t, and adds w(p,t) tokens to
each output place p of t; where w(p,t) is the arc weight
from t T to p P.
; is a set of arcs.
ARTCULO NO.
ARTCULO
%I2
%I3
%I4
%I5
%I6
%I7
%I8
%I9
%I10
%I11
%I12
%I13
%I14
%I15
%I16
%Q1
%Q2
%Q3
S_ZUNCHO
S_CHAP_B1
S_CHAP_B2
PB_DESC_B1
SEL_AUT_B2
SEL_AUT_B1
SEL_FUNC_B1
S_GRUE_B1
S_FINA_B1
PB_DESC_B2
SEL_FUNC_B2
S_GRUE_B2
S_FINA_B2
BANEX_FUNC
ALIM_127VCA
V_ZUNCHO
V_CHAP_B1
V_PGRU_B1
I2
I3
I4
I5
I6
I7
I8
I9
I10
I11
I12
I13
I14
I15
I16
Q1
Q2
Q3
%Q4
V_PFIN_B1
Q4
%Q5
V_PALR_B1
Q5
%Q6
%Q7
V_CHAP_B2
V_PFIN_B2
Q6
Q7
%Q8
V_PGRU_B2
Q8
%Q9
V_PALR_B2
Q9
%Q10
%Q11
%M1
%M2
%M3
%M4
%M5
%M6
%M7
%M8
%M9
%M10
%M11
%M12
%M13
%R30
%R35
XL_B2
XL_B1
P_SISTEMA
P_ZUNCHO
F_AUT_ZUNCH
P_B1
P_B2
P_APER_B1
PESO_B1
P_APER_B2
ENC_PF_B2
PESO_B2
ENC_PG_B2
ENC_PF_B1
ENC_PG_B1
TON_0
TON_1
Q10
Q11
M1
M2
M3
M4
M5
M6
M7
M8
M9
M10
M11
M12
M13
pt0
pt1
%R40
TON_2
pt2
%R45
TON_3
pt3
%R50
TON_4
pt4
LD
1
PN
IN
1
IN
2
IN n
OUT
1
IN 1
IN 2
OUT 1
IN n
IN
1
OUT
1
IN 2
IN
2
IN n
IN n
OUT
1
IN 1
IN 1
IN 2
IN n
p aux
1
OUT
1
t aux
1
IN 1
IN 2
OUT
1
OUT 1
IN n
IN
1
OUT
T
%R
Rese
t
Time
IN 1
OUT
T
Time
Address
%I1
zuncho
Zuncho sensor
Bottom cover sensor scale one
Bottom cover sensor scale two
Pushbutton unloading scale one
Automatic selection of scale two
Automatic selection of scale one
Selector operation of scale one
Weight wide sensor of scale one
Weight fine sensor of scale one
Pushbutton unloading scale two
Selector operation of scale two
Weight wide sensor of scale two
Weight fine sensor of scale two
Belt in operation
Energy on
Valve of the zuncho
Valve of bottom cover scale one
Valve piston weight wide scale
one
Valve piston weight fine scale
one
Valve piston high performance
scale one
Valve of bottom cover scale two
Valve piston weight fine scale
two
Valve piston weight wide scale
two
Valve piston high performance
scale two
Filling light scale two
Filling light scale one
System permissive
Zuncho permissive
Automatic system
Scale one permissive
Scale two permissive
Opening scale one permissive
Complete weight scale one
Opening scale two permissive
Latch fine piston of scale two
Complete weight scale two
Latch wide piston of scale two
Latch fine piston of scale one
Latch wide piston of scale one
Opening time of the zuncho
Opening time bottom cover
scale one
Opening time piston high
performance scale one
Opening time bottom cover
scale two
Opening time piston high
performance scale two
manual
ARTCULO NO.
ARTCULO
ARTCULO NO.
ARTCULO
ARTCULO NO.
ARTCULO
[11] Jos Mendes, Jos Creissac, Filomena Soares, Celina Pinto, Jaime
Ferreira, Simulation and Formal Verification of Industrial Systems
Controllers, ABCM Symposium Series in Mechatronics, Vol. 3, pp.
461-470, 2008.
[12] Murata, Petri Nets: Properties, Analysis and Applications, Proceedings
of the IEEE, 1989.
VII. BIOGRAPHIES
V. CONCLUSIONS
The PNLD allows transforming control algorithms
developed on LD, including basic Boolean functions and selfloops to PN, for modeling and simulation of the control
system, allowing detecting errors in the control or excessive
repetition of physical signals in the control algorithm.
Petri nets allow the analysis of systems by reducing
complexity sections. For the packaging system may be when
the systems working with a single scale.
Future work considers the application of mathematical tools
for optimization and simulation of dynamical behavior with
human machine interface of the PNLD to reduce code and
streamline the packaging system.
VI. REFERENCES
[1]