Académique Documents
Professionnel Documents
Culture Documents
Chaque constructeur
a sa propre syntaxe.
Il est donc impératif
de revenir au
document
constructeur
Parmi les langages usuels, on cite :
Exemple
Table d’affectation
Entrées Sorties
Système API Système API
S1 I1.5 H Q1.3
S2 I1.6
Segment 1
// FONCTION OU
LD I1.5
O I1.6
= Q1.3
S1 S2
S1
S2
Table d’affectation
Entrées Sorties
Système API Système API
S1 I1.2 H Q1.2
S2 I1.3
Segment 1
// FONCTION XOR
LD I1.2
AN I1.3
LDN I1.2
AI1.3
OLD
= Q1.2
EXEMPLE 3: MÉMOIRE À ARRÊT PRIORITAIRE
Schéma à contacts:
S1 KA
S2
KA1
KA1
Table d’affectation :
Entrées Sorties
S1 I1.2 KA Q1.2
S2 I1.3 H Q1.3
KA1 Q1.2
EXEMPLE 3: MÉMOIRE À ARRÊT PRIORITAIRE
Programme:
GRAFCET PC
0 M0.0
Dcy I1.2
l11 I1.3
l10 I1.4
// Equations des étapes
Segment 1
LD BM // Equations des sorties
S M0.0 Segment 5
Segment 2 LD M0.1
LD M0.0 = Q1.2
A I1.2 Segment 6
S M0.1 LD M0.2
R M0.0 = Q1.3
Segment 3
LD M0.1
A I1.3
S M0.2
R M0.1
Segment 4
LD M0.2
A I1.4
S M0.0
R M0.2
• Instruction LT
GRAFCET PC
0 M0.0
Dcy I1.2
1 H T0 M0.1 Q1.2 T0
00 M0.0
Dcy I1.2
01 H1 T0 M0.1 Q1.2 T0
02 H2 T1 M0.2 Q1.3 T1
A I1.4
S M0.3
R M0.1
Segment 5
LD M0.2
A I1.5
S M0.0
R M0.2
Segment 6
LD M0.3
A I1.6
S M0.0
R M0.3