Lenze PLC Designer PLC Designer (R2-x) Manuel d'utilisateur Page 81

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 844
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 80
L-force | PLC Designer
We Write a Little Program
DMS 3.2 EN 02/2011 TD29 79
5.1.8 "TRAFFICSIGNAL" declaration
Let us now turn to the POU TRAFFICSIGNAL. In the declaration editor you declare as
input variable (between the keywords VAR_INPUT and END_VAR) a variable named
STATUS of the type INT. STATUS will have four possible conditions, that is one for the
TRAFFICSIGNAL phases green, yellow, yellow/red andred.
Correspondingly our TRAFFICSIGNAL has three outputs, that is RED, YELLOW and
GREEN. You should declare these three variables. Then the declaration part of our
function block TRAFFICSIGNAL will look like this:
Function block TRAFFICSIGNAL, declaration part
Vue de la page 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 843 844

Commentaires sur ces manuels

Pas de commentaire