Items and operators of the PSRmodular Software
109241_en_03 PHOENIX CONTACT 143 / 232
5.4.2 MEMORY operators
The MEMORY operators enable the user to save signal states (logic “1” or logic “0”) that
have been generated by other function blocks or operators.
The status changes correspond to the truth tables.
5.4.2.1 D FLIP-FLOP
1
The “D FLIP-FLOP” operator enables the previously entered signal status to be saved at
output “Q” in accordance with the following truth table.
Figure 5-102 “D FLIP-FLOP” operator
Input “D” The signal to be saved, which was previously created by a function block or logic, is applied
to this input.
Input “C
K” The clock signal for “D FLIP-FLOP” is applied to this input. The signal is saved to input “D”
on a rising edge of the clock signal.
Parameters
Enable Preset The parameter sets output “Q” to logic “1”.
Enable Clear The parameter sets output “Q” to logic “0” and overrides the “Enable Preset” parameter.
1
Maximum number: 16 withPSR-M-B1, 32 with PSR-M-B2
PRESET CLEAR CK D Q
1 0 0/1 0/1 1
0 1 0/1 0/1 0
1 1 0/1 0/1 0
0 0 0 0/1 State remains saved
0 0 Rising edge 1 1
0 0
Rising edge
0 0