Sunteți pe pagina 1din 8

Laborator SDED

Lucrare:

Studenti:
Gheorghe Andrei-Florin
Ghita Andrei
Manole Eduard-Alexandru
Tret Adrian Ioan

Control supervizat al unei linii flexibile de fabricatie

1. Descrierea caietului de sarcini


Se aduce in discutie :
- Avem 4 depozite de piese (D1,D2,D3,D4);
- Linia flexibila produce piese de tip A si de tip B (in functie de cum este configurata)
- Pentru a produce o piesa de tip A se utilizeaza 2 piese din depozitul D1, o piesa din
-

depozitul D2 si 4 piese din depozitul D4;


Pentru a produce o piesa de tip B se utilizeaza 2 piese din depozitul D2, o piesa din
depozitul D4 si 4 piese din depozitul D3

2. Reeaua Petri

3. Descrierea poziiilor i tranziiilor

Poziii

Pozitie
init

Descriere

Actuator

p1

Depozitul 1

Y1

p2

Depozitul 2

Y2

p3

Depozitul 3

Y3

p4

Depozitul 4

Y4

p5

Se produce piesa A

Y5

p6

Se produce piesa B

Y5

p7

Se configureaza linia A

Y6

p8

X(1)

Se configureaza linia B

Y7

p9

X(1)

Disponibilitate linia A

p10

X(1)

Disponibilitate linia B

Tranziii

EV

t1

S1

s-a adus piesa 1

t2

S2

s-a adus piesa 2

t3

S3

s-a adus piesa 3

t4

S4

s-a adus piesa 4

t5

S5

s-a comandat piesa de tip A

t6

S7

s-a comandat piesa de tip B

t7

S9

s-a configurat linia A

t8

S10 s-a configurat linia B

t9

S6

s-a finalizat piesa A

t10

S8

s-a finalizat piesa B

4. Rezultate simulare PNTOOL

5. Structuri tipice utilizate in modelarea cu retele Petri

Acestea sunt:
a) Conflicte: P2-t5,t6; P4-t5,t6; P5-t7,t9; P6-t8;t10; P7-t5,t8;
P8-t6,t7;
b) Alegere libera: P2,P4t5,t6;
c) Alegere asimetrica: P1,P2-t5,t6; P3,P2-t5,t6; P1,P4-t5,t6;
P3,P4-t5,t6; P9,P7-t5,t8; P8,P10-t6,t7
d) Paralelism: e) Confuzie simetrica: P5,P8-t6,t7,t9; P6,P7-t5,t8,t10
f) Confuzie asimetrica: g) Sincronizare: P1,P2-t5; P2,P3-t6; P1,P4-t5, P3,P4-T6;
P2,P4-T6; P9,P7-t5; P8,P10-t6; P5,P8-t7; P6,P7-t8;
h) Post-conditie comuna: -

6. Secvena de evenimente utilizat

7. Mesaje consol Eclipse


Connecting to the serial port:...DONE
Successfuly connected to the serial port (serial port configuration: port=COM1, baudRate=1200, dataBits=8, stopBits=1,
parity=NONE)
Press <ENTER> to exit
partajated resources: S1 event was generated
flexible line: place P1 updated the number of items from Y1 to 1
partajated resources: S2 event was generated
flexible line: place P2 updated the number of items from Y2 to 1
partajated resources: S3 event was generated
flexible line: place P3 updated the number of items from Y3 to 1
partajated resources: S4 event was generated
flexible line: place P4 updated the number of items from Y4 to 1
partajated resources: S1 event was generated
flexible line: place P1 updated the number of items from Y1 to 2
partajated resources: S1 event was generated
flexible line: place P1 updated the number of items from Y1 to 3
partajated resources: S1 event was generated
flexible line: place P1 updated the number of items from Y1 to 4
partajated resources: S2 event was generated
flexible line: place P2 updated the number of items from Y2 to 2
partajated resources: S2 event was generated
flexible line: place P2 updated the number of items from Y2 to 3
partajated resources: S2 event was generated
flexible line: place P2 updated the number of items from Y2 to 4
partajated resources: S3 event was generated
flexible line: place P3 updated the number of items from Y3 to 2
partajated resources: S3 event was generated
flexible line: place P3 updated the number of items from Y3 to 3
partajated resources: S4 event was generated
flexible line: place P4 updated the number of items from Y4 to 2
partajated resources: S3 event was generated
flexible line: place P3 updated the number of items from Y3 to 4
partajated resources: S4 event was generated
flexible line: place P4 updated the number of items from Y4 to 3
partajated resources: S4 event was generated
flexible line: place P4 updated the number of items from Y4 to 4
partajated resources: S3 event was generated
flexible line: place P3 updated the number of items from Y3 to 5

partajated resources: S1 event was generated


flexible line: place P1 updated the number of items from Y1 to 5
partajated resources: S4 event was generated
flexible line: place P4 updated the number of items from Y4 to 5
partajated resources: S2 event was generated
flexible line: place P2 updated the number of items from Y2 to 5
partajated resources: S5 event was generated
flexible line: place P1 updated the number of items from Y1 to 3
flexible line: place P2 updated the number of items from Y2 to 4
flexible line: place P4 updated the number of items from Y4 to 1
flexible line: actuator Y5 was ACTIVATED by place P5
partajated resources: S6 event was generated
flexible line: actuator Y5 was DEACTIVATED by place P5
partajated resources: S7 event was generated
partajated resources: S4 event was generated
flexible line: place P4 updated the number of items from Y4 to 2
partajated resources: S4 event was generated
flexible line: place P4 updated the number of items from Y4 to 3
partajated resources: S4 event was generated
flexible line: place P4 updated the number of items from Y4 to 4
partajated resources: S7 event was generated
partajated resources: S10 event was generated
partajated resources: S7 event was generated
partajated resources: S7 event was generated
partajated resources: S5 event was generated
flexible line: place P1 updated the number of items from Y1 to 1
flexible line: place P2 updated the number of items from Y2 to 3
flexible line: place P4 updated the number of items from Y4 to 0
flexible line: actuator Y5 was ACTIVATED by place P5
partajated resources: S6 event was generated
flexible line: actuator Y5 was DEACTIVATED by place P5
partajated resources: S1 event was generated
flexible line: place P1 updated the number of items from Y1 to 2
partajated resources: S1 event was generated
flexible line: place P1 updated the number of items from Y1 to 3
partajated resources: S4 event was generated
flexible line: place P4 updated the number of items from Y4 to 1
partajated resources: S4 event was generated
flexible line: place P4 updated the number of items from Y4 to 2
partajated resources: S4 event was generated
flexible line: place P4 updated the number of items from Y4 to 3
partajated resources: S9 event was generated
flexible line: received command to DEACTIVATE the actuator Y7, from place P8. The actuator was already DEACTIVATED and the
command was ignored
flexible line: actuator Y6 was ACTIVATED by place P7
partajated resources: S7 event was generated
flexible line: place P2 updated the number of items from Y2 to 1
flexible line: place P3 updated the number of items from Y3 to 1
flexible line: place P4 updated the number of items from Y4 to 2
flexible line: actuator Y5 was ACTIVATED by place P6
partajated resources: S8 event was generated
flexible line: actuator Y5 was DEACTIVATED by place P6
partajated resources: S2 event was generated
flexible line: place P2 updated the number of items from Y2 to 2
partajated resources: S3 event was generated
flexible line: place P3 updated the number of items from Y3 to 2
partajated resources: S4 event was generated
flexible line: place P4 updated the number of items from Y4 to 3
partajated resources: S10 event was generated
flexible line: actuator Y6 was DEACTIVATED by place P7
flexible line: actuator Y7 was ACTIVATED by place P8
partajated resources: S5 event was generated
partajated resources: S2 event was generated
flexible line: place P2 updated the number of items from Y2 to 3
partajated resources: S3 event was generated
flexible line: place P3 updated the number of items from Y3 to 3
partajated resources: S4 event was generated
flexible line: place P4 updated the number of items from Y4 to 4
partajated resources: S5 event was generated
flexible line: place P1 updated the number of items from Y1 to 1

flexible line: place P2 updated the number of items from Y2 to 2


flexible line: place P4 updated the number of items from Y4 to 0
flexible line: actuator Y5 was ACTIVATED by place P5
partajated resources: S6 event was generated
flexible line: actuator Y5 was DEACTIVATED by place P5

8. Concluzii:
Pasii produsi pentru rularea sistemului in Eclipse se pot
vedea din mesajul din consola.
Din simularea in PNTOOL reiese ca sistemul realizat nu
prezinta deadlock.

S-ar putea să vă placă și