4 flip-flop (l_flip), Flip−flop (l_flip), Function library lenzedrive.lib – Lenze DDS Function library Drive User Manual
Page 43: Digital signal processing, 4 flip−flop (l_flip)
Function library LenzeDrive.lib
Digital signal processing
2.3.4
Flip−flop (L_FLIP)
2−33
L
LenzeDrive.lib EN 1.7
2.3.4
Flip−flop (L_FLIP)
This FB is implemented as a D flip−flop. You can use this function to evaluate and store digital signal
transitions (edges).
bD_b
bClk_b
bClr_b
bOut_b
L_FLIP
D
CLR
Q
Fig. 2−39
Flipflop (L_FLIP)
VariableName
DataType
SignalType
VariableType
Note
bD_b
Bool
binary
VAR_INPUT
bClk_b
Bool
binary
VAR_INPUT
Evaluates FALSE−TRUE edges only
(edge−triggered).
bClr_b
Bool
binary
VAR_INPUT
Evaluates the input level only; input has highest
priority (reset input).
bOut_b
Bool
binary
VAR_OUTPUT
Functional sequence
t
t
bD_b
bClk_b
t
bOut_b
Fig. 2−40
Sequence of a flip−flop
bClr_b always has priority.
1. If bClr_b = TRUE, then bOut_b switches = FALSE. This state is held as long as bClr_b = TRUE.
2. A FALSE−TRUE edge at bClk_b switches bD_b = bOut_b. This state is stored until
– another FALSE−TRUE edge occurs at bClk_b or
– bClr_b switches = TRUE.