Lenze PLC Designer PLC Designer (R2-x) Manual de usuario Pagina 81

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 844
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 843 844

Comentarios a estos manuales

Sin comentarios