GRAFCET and Petri Nets Outline Introduction GRAFCET - EPFL
GRAFCET and Petri Nets Outline Introduction GRAFCET - EPFL
GRAFCET and Petri Nets Outline Introduction GRAFCET - EPFL
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Divider by 2<br />
Examples of logical graphs<br />
(1)<br />
(2)<br />
(3)<br />
(4)<br />
1<br />
2<br />
3<br />
4<br />
a<br />
a'<br />
a<br />
a'<br />
S<br />
S<br />
a<br />
S<br />
↑a<br />
1<br />
(1) ↑a<br />
2 S<br />
(2) ↑a<br />
a<br />
Controlling<br />
system<br />
S<br />
a<br />
m<br />
G<br />
(A)<br />
(1)<br />
(2)<br />
(3)<br />
1<br />
2<br />
3<br />
↑m<br />
D<br />
b<br />
G<br />
a<br />
D<br />
(1) m pressed<br />
b<br />
2 Go to right<br />
(2) Arrived on right<br />
(B)<br />
3 Go to left<br />
1<br />
(3) Arrived on left<br />
(1) ↑m<br />
2 V<br />
1<br />
(2) b<br />
(1) ↑m.a<br />
3<br />
2 V<br />
(3) a<br />
(2) b<br />
1<br />
Real-Time Programming <strong>GRAFCET</strong> <strong>and</strong> <strong>Petri</strong> nets 17<br />
© J.-D. Decotignie, 2007<br />
Real-Time Programming <strong>GRAFCET</strong> <strong>and</strong> <strong>Petri</strong> nets 18<br />
© J.-D. Decotignie, 2007<br />
Example<br />
Increment a counter<br />
reservoir<br />
m<br />
<br />
<br />
<br />
Initial conditions<br />
Tanks empty, valves closed<br />
Sensors <strong>and</strong> actuators<br />
V i , W i = 1 if open<br />
V 1<br />
h i , b i = 1 if level above sensor tank 1<br />
b 1<br />
operations:<br />
W 1<br />
Fill each tank until above h i ,<br />
close valve V i <strong>and</strong> open W i until<br />
level below b i . Procees cannot<br />
be repeated before both tanks<br />
are empty<br />
h 1<br />
h 2<br />
b 2<br />
W 2<br />
tank 2<br />
(1)<br />
(2)<br />
(3)<br />
1<br />
2<br />
3<br />
(C←0)*<br />
=1<br />
↑a<br />
(C←C+1)*<br />
V 2<br />
<strong>GRAFCET</strong> <strong>and</strong> <strong>Petri</strong> nets 20<br />
↑a<br />
a<br />
Stable<br />
situation<br />
(C←0)*<br />
(C←C+1)*<br />
{2} {3} {2} {3}<br />
Real-Time Programming <strong>GRAFCET</strong> <strong>and</strong> <strong>Petri</strong> nets 19<br />
© J.-D. Decotignie, 2007<br />
Real-Time Programming © J.-D. Decotignie, 2007