Lenze DDS v2.3 Manuel d'utilisateur Page 308

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 340
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 307
1 2 ... 303 304 305 306 307 308 309 310 311 312 313 ... 339 340

Commentaires sur ces manuels

Pas de commentaire