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

  • 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 28
Drive PLC Developer Studio
Program example
3-7
l DDS EN 2.3
Pulse encoder TP
The pulse encoder TP has two inputs ( IN, PT) and two outputs ( Q, ET).
If at the input IN TRUE is applied, the output Q ,forthetimePT (in milliseconds) will return the
value TRUE.
ET outputs the time already expired in milliseconds.
Input variable Status Output variables Status/value
IN FALSE
Q FALSE
ET 0
IN TRUE
Q TRUE
(ET < PT)
ET 0 ì PT*
IN
Q FALSE
(ET = PT)
ET PT
* The output ET counts the time in milliseconds.
To use the pulse encoder TP in the organization unit WAIT we must create a local instance of TP
:
28.Use the declaration editor to declare as local variable (between the keywords VAR and
END_VAR) a variable named DELAY of type TP.
3.2.6.2 Instruction list
To implement the timer, the instruction list for the organization unit WAIT must be as follows:
Show/Hide Bookmarks
Zobrazit stránku 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 339 340

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

Žádné komentáře