Tutoriel| Création d'un programme en vidéo : |
|
Type | Signification | Valeur minimale | Valeur maximale | Espace mémoire |
---|---|---|---|---|
BOOL |
Bit simple | FALSE | TRUE | 1 octet |
BYTE |
Octet | 0 | 255 | 8 bits |
WORD |
Mot de 16 bits | 0 | 65535 | 16 bits |
DWORD |
Double mot sur 32 bits | 0 | 4294967295 | 32 bits |
SINT |
Entier signé court sur 8 bits | -128 | 127 | 8 bits |
UINT |
Entier non signé sur 8 bits | 0 | 255 | 16 bits |
INT |
Entier signé sur 16 bits | -32768 | 32767 | 16 bits |
DINT |
Entier signé sur 32 bits | -2147483648 | 2147483647 | 32 bits |
UDINT |
Entier non signé sur 32 bits | 0 | 4294967295 | 32 bits |
Symbole | Désignation | ||
---|---|---|---|
Variable booléenne de type NO ou contact à fermeture (%IX entrée automate;%M mémoire; etc...). | |||
Mise en parallèle ou dérivation d’un contact. | |||
Variable bobine (%M mémoire; %QX sortie automate, etc..), sera active si la ligne d’alimentation est à 1. Utilisée pour les sorties ou Mémoires. |
|||
Permet d’inverser l'état d'un contact ou d'une bobine. | Contact NC |
Bobine Inversée |
|
S |
Mise à l’état 1 de la sortie ou de la mémoire. (Mémorisation, S = SET) | |
|
R |
Mise à l’état 0 de la sortie ou de la mémoire (Mémorisation, R =RESET) |
Entrées digitales | Sorties digitales | ||||
---|---|---|---|---|---|
Adresses | Désignations | Mnémoniques | Adresses | Désignations | Mnémoniques |
%IX0.0 | Bouton Marche S1 | S1 | %QX0.0 | Voyant marche H1 | H1 |
%IX0.1 | Bouton Arrêt S2 | S2 | %QX0.1 | Voyant défaut H2 | H2 |
%IX0.2 | Capteur de sécurité S3 | S3 | %QX0.2 | Contacteur moteur KM1 | KM1 |
%IX0.3 | - | - | %QX0.3 | - | - |
Équation | Langage Ladder |
---|---|
Équation 1 de H2 : qui se lit "H2 égale PAS S3". |
|
Équation 2 de H2 : qui se lit "PAS H2 égale S3". |
Équation | Langage Ladder |
---|---|
Équation de H1 : qui se lit "H1 égale PAS S2 et S3 et S1 ou KM1". |
Équation | Langage Ladder |
---|---|
Équation de KM1 : qui se lit "KM1 égale PAS S2 et S3 et S1 ou KM1". |