Lenze DDS v2.3 Manual de usuario Pagina 308

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 340
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 307
Drive PLC Developer Studio
IEC 61131-3 Standard functions
14-16
l
DDS EN 2.3
14.7 Timers
14.7.1 TP
Pulse encoder
TP(IN, PT, Q, ET) means:
IN and PT are input variables of type BOOL or TIME.
Q and ET are output variables of type BOOL or TIME.
After a positive edge at input IN,outputQ becomesTRUEforthetimespecifiedatPT
Then Q will be FALSE again.
As soon as IN returns TRUE, ET will count the time in milliseconds until the value equals
that in PT and then remain the same.
Q thus returns a signal for the time specified at PT .
Graphic representation of TPs time sequence:
Examples
Declaration:
TPInst : TP;
IL FBD
CAL TPInst(IN:=VarBOOL1, PT:=T#5s)
LD TPInst.Q
ST VarBOOL2
ST
TPInst(IN:=VarBOOL1, PT:=T#5s);
VarBOOL2:=TPInst.Q;
Show/Hide Bookmarks
Vista de pagina 307
1 2 ... 303 304 305 306 307 308 309 310 311 312 313 ... 339 340

Comentarios a estos manuales

Sin comentarios