F_TRIG

Detects a falling edge of a Boolean variable
lrsb_ftr1_aadvance
Arguments
CLK
BOOL
Any Boolean variable
Q
BOOL
TRUE when CLK changes from TRUE to FALSE
FALSE if all other cases
Example
(* FBD program using the F_TRIG block *)
lrsb_ftr2_aadvance
(* ST Equivalence: We suppose F_TRIG1 is an instance of F_TRIG block *)
F_TRIG1(cmd); nb_edge := ANY_TO_DINT(F_TRIG1.Q) + nb_edge;
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal