6. Function blocks
6.2 Interrupt function blocks
Example frequency measurement in easySoft 8
Device input I1 is a measuring input.
If the frequency at device input I1 reaches the frequency of 1030 Hz, the interrupt is
triggered. The interrupt program uses QP02 to reset device output Q2 and SQ01 to set
marker M31 at function block output Q1. Marker 31 signals that the frequency has
been reached.
Fig. 263: easySoft 8 Main program Frequency measurement
Fig. 264: easySoft 8 Interrupt program Frequency measurement
See also
 → Section "IE - Edge-controlled interrupt", page 574
 → Section "IT - Time-controlled interrupt function block", page 580
easyE402/24 MN050009ENEaton.com
573