Lenze DDS v2.3 Uživatelský manuál Strana 308

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 340
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 307
1 2 ... 303 304 305 306 307 308 309 310 311 312 313 ... 339 340

Komentáře k této Příručce

Žádné komentáře