Lenze DDS v2.3 Manual de usuario Pagina 29

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 340
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 339 340

Comentarios a estos manuales

Sin comentarios