Lenze PLC Designer PLC Designer (R2-x) Manual do Utilizador Página 724

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 844
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 723
L-force | PLC Designer
PLC Designer Visualization
722 DMS 3.2 EN 02/2011 TD29
Example for a blinking visualization element:
Define a global variable 'blink1' of type VisualObjectType in the configuration of a
rectangle. In a program of function block the value of a component of the structure
can be modified.
PROGRAM PLC_PRG
VAR
n:INT:=0;
bMod:BOOL:=TRUE;
END_VAR
(* Blinking element *)
n:=n+1;
bMod:= (n MOD 20) > 10;
IF bMod THEN
blinker.nFillColor := 16#00808080; (* Grau *)
ELSE
blinker.nFillColor := 16#00FF0000; (* Blau *)
END_IF
Vista de página 723
1 2 ... 719 720 721 722 723 724 725 726 727 728 729 ... 843 844

Comentários a estes Manuais

Sem comentários