Documente Academic
Documente Profesional
Documente Cultură
COURS
TP
TD 3
Ca
Cb [ ?
]
3/ Tracer les chronogrammes de
Ac, Ad, Ha,
H Mac, Mad pour une
configuration de dpart donne
sur
ur Cb et Cc.
-1-
-2-
Moteur M1
Explications :
ATTENTE
[C1>0]/ T2 := 1 ;
[C2>0]/ T1 := 1 ;
[Exit]/T2 := 0 ;
T1 := 0 ;
a
RAZ COMPTEURS
[Entry]/C1 := 0 ;
C2 := 0 ;
C1=0 . C2=0 [. n en est ]
i / C2 := C2 + 1 ;
[Entry]/T2 := 1 ;
[Exit]/T2 := 0 ;
i / C1 := C1 + 1 ;
[Entry]/T1 := 1 ;
[Exit]/T1 := 0 ;
C2=k
C1=k
-3-
ATTENTE
TELECOM 1C demand . C2 20
[C1>0]/ T2 := 1 ;
[C2>0]/ T1 := 1 ;
[Exit]/T2 := 0 ;
T1 := 0 ;
a
T1
RAZ COMPTEURS
[Entry]/C1 := 0 ;
C2 := 0 ;
T2
C1=0 . C2=0
ROTATION VERS OUEST
i / C2 := C2 + 1 ;
[Entry]/T2 := 1 ;
[Exit]/T2 := 0 ;
C2=20
ATTENTE
ROTATION
VERS OUEST
ATTENTE
ASTRA demand .
[ C1>0]/ T2 := 1 ;
[ C2>0]/ T1 := 1 ;
[Exit]/T2 := 0 ;
T1 := 0 ;
a
RAZ COMPTEURS
[Entry]/C1 := 0 ;
C2 := 0 ;
C1=0 . C2=0
?
?
i/
[Entry]/
[Exit]/
Produit A
Produits
B
C
V1
V2 V3
Trmie B1
V4
Trmie B2
V5
V6
Malaxeur
-4-
?
?
?
M
3~
V7
INIT
...................
........
...................
...................
...................
...................
........
...................
...................
...................
...................
......
......
......
FIN INIT
VIDANGE
...................../.....................
...................../.....................
...................../.....................
...................../.....................
......
2/ Par quoi peut-on remplacer les conditions initiales "ci" dans le graphe principal ?
3/ Remplacez dans le graphe principal les "" seulement par les symboles qui conviennent.
GRAPHE PRINCIPAL
dcy . ci
INIT
DOSAGE
DOSAGE
? (fin d'init)
ATTENTE REMPLISSAGE
..................
..................
............
? (fin de dosage)
............
REMPLISSAGE MALAXEUR
.....................................
B1 et B2 vides :
.........................
..................
.................. / ..................
............
MELANGE
.....................................
after(10min)
EVACUATION
.....................................
FIN DOSAGE
malaxeur vide :
......................
-5-
............
ATTENTE
?
OUVERTURE
OUVRIR := 1
[Exit]/OUVRIR := 0
FERMETURE
FERMER := 1
[Exit]/FERMER := 0
-6-
-7-
Sciences Industrielles
ndustrielles pour lIngnieur
l
Signifie : "ou"
[ 45 / 0 = 0]
fe(tf)
ARRET
re(p) . [ 45 / 0 = 0]
fe(tf)
FERMETURE
M- := 1
[Exit]/M- := 0
MANUEL2
E- := 1
p . after(0,5s)
after(1s)
fe(tf)
45 / 0
:=
45 / 0
p . after(0,5s)
STOP
Maxi
45 / 0 :=
45Maxi
/0
MANUEL1
E- := 1
[Exit]/E- := 0
fe(tf)
p . [ 45 / 0 = 0]
re(to)
OUVERTURE
M+ := 1
E+ := 1
[Exit]/M+ := 0
E+ := 0
re(to) + [ 45 / 0 =
tf
fe(tf)
MANUEL3
[Exit]/E- := 0
45Maxi
/0 ]
dessous le chronogramme dvolution du graphe sachant qu linstant initial, le coffre est ferm et que la valeur
Complter ci-dessous
prprogramme de
45Maxi
/0
est de 90.
Rappel :
fe(var) = 1 quand var passe de 1 0 (falling
edge = front descendant) ;
re(var) = 1 quand var passe de 0 1 (raising
edge = front montant).
45Maxi
/0
45Maxi
/0
-8-
ATTENTE EN a
ATTENTE EN b
[in ?
ma
[in ?
mb
A SUR TRONCON COMMUN
MARCHE DROITE A
?
[Exit]/?
?
[Exit]/?
?
ATTENTE LIBRE A
re(da)
ATTENTE LIBRE B
.[in ?
?
[Exit]/?
?
[Exit]/?
?
ATTENTE OPERATEUR1
?
MARCHE GAUCHE A
?
[Exit]/?
?
re(db)
[in ?
/?
MARCHE DROITE B
/?
?
ATTENTE OPERATEUR2
?
MARCHE GAUCHE B
?
[Exit]/?
?
-9-
AIGUILLAGE COTE A
AIGA := 1
[Exit]/AIGA := 0
[in ?
AIGUILLAGE COTE B
AIGB := 1
[Exit]/AIGB := 0
[in ?
ARRET VENTILATION
Ventiler := 0
Dbit d'air := 0
Remarques :
- On peut aussi rajouter une transition de l'tat vide suivant MARCHE
OSCILLATION vers ARRET OSCILLATION avec la condition [in ARRET
VENTILATION]
- on peut viter les tats vides en testant l'vnement fe(m) ou
fe(osc) correspondant au front descendant dans la syntaxe
Automgen (falling edge), donc au relchement des boutons.
ARRET OSCILLATION
Osciller := 0
osc . [in MARCHE VENTILATION]
/m
/osc
MARCHE VENTILATION
Ventiler := 1
Dbit d'air := Consigne dbit d'air
MARCHE OSCILLATION
Osciller := 1
osc
/m
/osc
1/
3/
ATTENTE
ATTENTE
bf
/to
OUVERTURE
OUVRIR := 1
[Exit]/OUVRIR := 0
bf + to . ef
to
/to
OUVERTURE
OUVRIR := 1
[Exit]/OUVRIR := 0
FERMETURE
FERMER := 1
[Exit]/FERMER := 0
to
to
tf
bt . /to
to
FERMETURE
FERMER := 1
[Exit]/FERMER := 0
bt . /tf
tf
2/
ARRET GENERAL
ARRET GENERAL
m
POMPAGE
m
[/h1] / P1 := 1
[h1] / P1 := 0
[/h2] / P2 := 1
[h2] / P2 := 0
[/h3] / P3 := 1
[h3] / P3 := 0
[Exit]/P1 := 0
P2 := 0
P3 := 0
/m
POMPAGE P3
POMPAGE P1
/m
[/h1] / P1 := 1
[h1] / P1 := 0
[/h2] / P2 := 1
[h2] / P2 := 0
[/h3] / P3 := 1
[Exit]/P1 := 0
P2 := 0
P3 := 0
m
[/h1] / P2 := 1
[h1] / P2 := 0
[/h2] / P3 := 1
[h2] / P3 := 0
[/h3] / P1 := 1
[Exit]/P1 := 0
P2 := 0
P3 := 0
h3 [m]
- 10 -
POMPAGE P2
/m
h3 [m]
/m
[/h1] / P3 := 1
[h1] / P3 := 0
[/h2] / P1 := 1
[h2] / P1 := 0
[/h3] / P2 := 1
[Exit]/P1 := 0
P2 := 0
P3 := 0
h3 [m]
Sciences Industrielles
ndustrielles pour lIngnieur
l
X/ SYSTEME DE COFFRE MOTORISE
ATTENTE EN a
ma
ATTENTE EN b
mb
MARCHE DROITE A
DA := 1
[Exit]/DA := 0
da
ATTENTE LIBRE A
[in TRONCON
COMMUN LIBRE]
MARCHE DROITE B
DB := 1
[Exit]/DB := 0
after(taig) / DA := 1
[Exit]/DA := 0
after(taig) / DB := 1
[Exit]/DB := 0
mc
MARCHE GAUCHE A
GA := 1
[Exit]/GA := 0
a
re(db)
ATTENTE LIBRE B
ATTENTE OPERATEUR1
db
re(da)
c
ATTENTE OPERATEUR2
mc
MARCHE GAUCHE B
GB := 1
[Exit]/GB := 0
b
- 11 -
AIGUILLAGE COTE A
AIGA := 1
[Exit]/AIGA := 0
[in SUITE MARCHE
DROITE B]
AIGUILLAGE COTE B
AIGB := 1
[Exit]/AIGB := 0
[in SUITE MARCHE
DROITE A]