Z-World XP8900 Manual do Utilizador Página 39

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 38
PK2100
System Development s 4-7
Timers
There are 10 virtual timers. Each timer has an input flag, an output flag,
and a reload value.
T1IN, T2IN ... T10IN // input flags
T1O, T2O ... T10O // output flags
T1RLD, T2RLD ... T10RLD // reload values
When a timer input (for example, T1IN) goes from 0 to 1, the counter
starts counting from the reload value (for example, T1RLD) down, one
count every virtual driver tick (25 milliseconds). The output flag (T1O) is
set to 1 when the count reaches zero. The output is forced to zero when-
ever the input is set to zero.
TxIN
Counter
TxO
Figure 4-1. Timer Ouput Variation Over Time
with Timer Input and Counter
Vista de página 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 113 114

Comentários a estes Manuais

Sem comentários