6. Function blocks
6.2 Interrupt function blocks
Example frequency measurement in easySoft 7
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.
Figure 194: easySoft 7 main program
Figure 195: easySoft 7 interrupt program
See also
→ Section "IE - Edge-controlled interrupt function block", page 418
→ Section "IT - Time-controlled interrupt function block", page 424
easyE4 11/18 MN050009 EN www.eaton.com
417