CORRECTION

TP Automatisme - Système Pelericc avec Automate Crouzet CD12

📋 Variables du système

Entrées (capteurs et boutons) :

Sorties (actionneurs) :

Variables internes (mémoires M3Soft) :

📊 Table de vérité complétée

Étape active Conditions d'entrée YI1 YT1 YI0 YT0 État des vérins
MO t0=1, i1=0 0 0 0 0 T rentré, I rentré
M1 DCY=1 1 0 0 0 T rentré, I sort
M2 i1=1 0 1 0 0 T sort, I sorti
M3 t1=1 0 0 1 0 T sorti, I rentre
M4 i1=0 0 0 0 1 T rentre, I rentré
Principe : Une seule sortie est active par étape, correspondant à l'action à effectuer.

⚙️ Équations SET/RESET des étapes

Principe général : Chaque étape est SET par l'étape précédente + sa condition d'activation, et RESET par elle-même + sa condition de sortie.
Étape MO (État initial) :
SET MO : \( \text{SET MO} = \left(t0 \cdot \overline{i1} \cdot \overline{M1} \cdot \overline{M2} \cdot \overline{M3} \cdot \overline{M4}\right) + \left(M4 \cdot t0\right) \)
RESET MO : \( \text{RESET MO} = MO \cdot DCY \)
Étape M1 (Sortie vérin I) :
SET M1 : \( \text{SET M1} = MO \cdot DCY \)
RESET M1 : \( \text{RESET M1} = M1 \cdot i1 \)
Étape M2 (Sortie vérin T) :
SET M2 : \( \text{SET M2} = M1 \cdot i1 \)
RESET M2 : \( \text{RESET M2} = M2 \cdot t1 \)
Étape M3 (Rentrée vérin I) :
SET M3 : \( \text{SET M3} = M2 \cdot t1 \)
RESET M3 : \( \text{RESET M3} = M3 \cdot \overline{i1} \)
Étape M4 (Rentrée vérin T) :
SET M4 : \( \text{SET M4} = M3 \cdot \overline{i1} \)
RESET M4 : \( \text{RESET M4} = M4 \cdot t0 \)
Note importante : Pour M3, la condition de sortie est \( \overline{i1} \) (i1=0) car on attend que le vérin I soit complètement rentré.

🔌 Équations des sorties

Principe : Chaque sortie est activée uniquement pendant l'étape correspondante du cycle.
YI1 (Sortir vérin I) :
\( YI1 = M1 \)
YT1 (Sortir vérin T) :
\( YT1 = M2 \)
YI0 (Rentrer vérin I) :
\( YI0 = M3 \)
YT0 (Rentrer vérin T) :
\( YT0 = M4 \)

🔄 Séquence complète du cycle

📋 Déroulement étape par étape
  1. État initial (MO active) : t0=1, i1=0 → Attente DCY
  2. DCY appuyé : MO se RESET, M1 se SET → YI1=1 (vérin I sort)
  3. i1=1 détecté : M1 se RESET, M2 se SET → YT1=1 (vérin T sort)
  4. t1=1 détecté : M2 se RESET, M3 se SET → YI0=1 (vérin I rentre)
  5. i1=0 détecté : M3 se RESET, M4 se SET → YT0=1 (vérin T rentre)
  6. t0=1 détecté : M4 se RESET, MO se SET → Retour état initial

đź’» Structure programme M3Soft

Organisation recommandée :

  1. Bloc SET des mémoires :
    • SET MO = (t0 • /i1 • /M1 • /M2 • /M3 • /M4) + (M4 • t0)
    • SET M1 = MO • DCY
    • SET M2 = M1 • i1
    • SET M3 = M2 • t1
    • SET M4 = M3 • /i1
  2. Bloc RESET des mémoires :
    • RESET MO = MO • DCY
    • RESET M1 = M1 • i1
    • RESET M2 = M2 • t1
    • RESET M3 = M3 • /i1
    • RESET M4 = M4 • t0
  3. Bloc sorties :
    • YI1 = M1
    • YT1 = M2
    • YI0 = M3
    • YT0 = M4
Notation M3Soft : Utilisez "/" pour NON, "•" pour ET, "+" pour OU dans le logiciel.

🚨 BONUS : Gestion arrêt d'urgence

Variables supplémentaires :

Équations modifiées :

Sorties avec sécurité :
YI1 : \( YI1 = M1 \cdot AU \)
YT1 : \( YT1 = M2 \cdot AU \)
YI0 : \( YI0 = M3 \cdot AU \)
YT0 : \( YT0 = M4 \cdot AU \)
Remise à zéro générale :
RESET général : \( \text{RESET M1,M2,M3,M4} = \overline{AU} + RST \)
Principe : L'arrêt d'urgence coupe toutes les sorties et remet toutes les étapes à zéro. Un reset manuel est nécessaire pour redémarrer.

🎯 Points clés à retenir