Lenze DDS Function library Drive Manual do Utilizador Página 46

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 103
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 45
2.3.7 Edge evaluation (L_TRANS)
Function library LenzeDrive.lib
Digital signal processing
2−36
L
LenzeDrive.lib EN 1.7
2.3.7 Edge evaluation (L_TRANS)
This FB is a post−triggered edge detector. You can use this function to detect digital signal transitions
(edges) and turn them into defined pulses.
L_TRANS
bIn_b
0t
byFunction
bOut_b
wPulseTime
Fig. 2−45 Edge evaluation (L_TRANS)
VariableName DataType SignalType VariableType Note
bIn_b Bool binary VAR_INPUT
bOut_b Bool binary VAR_OUTPUT (retriggerable)
byFunction Byte VAR CONSTANT RETAIN Selection of the function
wPulseTime Word VAR CONSTANT RETAIN Pulse duration of the output signal
Parameter codes of the instances
VariableName L_TRANS1 L_TRANS2 L_TRANS3 SettingRange Lenze
byFunction C0710 C0715 C1140 0 ... 2 0
wPulseTime C0711 C0716 C1141 0.001 ... 60.000 s 0.001
VariableName L_TRANS4 SettingRange Lenze
byFunction C1145 0 ... 2 0
wPulseTime C1146 0.001 ... 60.000 s 0.001
Range of functions
Evaluate rising edges
Evaluate falling edges
Evaluate rising and falling edges
2.3.7.1 Evaluate rising edges
byFunction = 0
t
t
bIn_b
bOut_b
wPulseTime wPulseTime
Fig. 2−46 Evaluation of FALSE−TRUE transitions
Functional sequence
1. If a TRUE−FALSE or a FALS−TRUE transition occurs at nIn_b, then bOut_b switches = TRUE.
2. After the time defined as wPulseTime has elapsed, then bOut_b switches = FALSE, provided
no further FALSE−TRUE transition has occurred at nIn_b.
Vista de página 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 102 103

Comentários a estes Manuais

Sem comentários