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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 844
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 659
L-force | PLC Designer
PLC Designer Libraries
658 DMS 3.2 EN 02/2011 TD29
Declaration example:
TOFInst : TOF ;
Example in IL:
CAL TOFInst(IN := VarBOOL1, PT := T#5s)
LD TOFInst.Q
ST VarBOOL2
Example in FBD:
Example in ST:
TOFInst(IN := VarBOOL1, PT:= T#5s);
VarBOOL2 :=TOFInst.Q;
RTC
Provided by standard.lib.
The function block Runtime Clock returns, starting at a given time, the current date
and time.
RTC(EN, PDT, Q, CDT) means:
EN and PDT are input variables type TIME. Q and CDT are output variables type BOOL
respectively DATE_AND_TIME. When EN is FALSE, the output variables Q und CDT are
FALSE respectively DT#1970-01-01-00:00:00.
As soon as EN becomes TRUE, the time of PDT is set, is counted up in seconds and
returned in CDT as long as EN is TRUE (see example in the picture above). As soon as
EN is reset to FALSE, CDT is reset to the initial value DT#1970-01-01-00:00:00. Please
note that the time in PDT is only set by a rising edge.
Vista de pagina 659
1 2 ... 655 656 657 658 659 660 661 662 663 664 665 ... 843 844

Comentarios a estos manuales

Sin comentarios