====== s1 ======
===== en =====
==== name ====
Backward jumps are forbidden
==== description ====
Backward jumps are forbidden.
**Detailed explanation** : Backward jumps may trigger an infinite loop which will halt the PLC loop. Moreover, avoiding jumps leads to an easier understanding of the code and therefore a better maintainability.\\
**Example**:
L3:
/* code always executed */
Always
True
Condition L3
-| |---------------------------->>
**Level** : Mandatory\\
==== errorMessage ====
* a) A backward JUMP is present in {LOCATION}
===== fr =====
==== name ====
Les sauts en arrière sont interdits
==== description ====
Les sauts en arrière sont interdits.\\
**Explication complémentaire** : L'utilisation d'un saut en arrière fait courir le risque de déclencher une boucle infinie, ce qui continue a un arrêt de l'automate. Par ailleurs, de manière générale, l'utilisation de sauts nuit à une bonne compréhension du code et donc à sa maintenabilité.\\
**Exemple**:
L3:
/* code execute en permanence */
Condition
toujours
vraie L3
-| |---------------------------->>
**Niveau conseillé** : Obligatoire\\
==== errorMessage ====
* a) Un saut en arrière a été détecté en {LOCATION}
===== it =====
==== name ====
I salti all'indietro sono vietati
==== description ====
I salti all'indietro sono vietati.\\
**Spiegazione supplementare**: l'utilizzo di un salto all'indietro comporta il rischio di avviare un loop infinito e questo causa l'arresto del PLC. Inoltre, in generale, l'utilizzo dei salti rende il codice meno comprensibile rendendone più complessa la manutenzione.\\
**Esempio**:
L3:
/* codice eseguito costantemente */
Condizione
sempre
vera L3
-| |---------------------------->>
**Livello consigliato**: obbligatorio\\
==== errorMessage ====
* a) In {LOCATION} è stato rilevato un salto all'indietro
===== de =====
==== name ====
Rückwärtssprünge sind verboten
==== description ====
Rückwärtssprünge sind verboten.\\
**Vertiefende Erklärung** : Rückwärtssprünge können Endlosschleifen anstoßen, die die regelmäßigen Programmschleifen blockieren. Das Vermeiden von Rückwärtssprüngen sorgt für ein leichteres Programmverständnis und vereinfacht die Wartung.\\
**Beispiel**:
L3:
/* code always executed */
Always
True
Condition L3
-| |---------------------------->>
**Level** : Obligatorisch\\
==== errorMessage ====
* a) Ein Rückwärtssprung wurde an der Stelle {LOCATION} entdeckt