6. Function blocks
6.2 Interrupt function blocks
(bit) Description Note
counting direction.
Frequency counter; f > SV
I1…I8, timeout of the frequency ref-
erence
Measuring interval 0.01s, 500 Hz -
5000 Hz
Measuring interval 0.1 s, 50 Hz -
5000 Hz
Measuring interval 1.0 s 5 Hz - 5000
Hz
Frequency counter; f < SV
I1 – I8, Frequency reference fallen
below
Measuring interval 0.01s, 500 Hz -
5000 Hz
Measuring interval 0.1 s, 50 Hz -
5000 Hz
Measuring interval 1.0 s 5 Hz - 5000
Hz
In the case of pulse counter with external direction control, device
inputs I1 through I4 must be used as pulse inputs and device inputs I5
through I8 must be used as direction inputs.
In the case of counters with 2 counter inputs, I1 through I4 should be
used with first priority.
In the case of incremental encounters, I1 through I4 should be used with
first priority.
In the case of incremental counters, channel A and channel B must
deliver pulses with an offset of 90°.
IC function block with incremental counter operating mode, up or down count;
Double evaluation
Function block outputs

Description Note
(bit)
Q1
Bit output used to provide operand states from
the interrupt program to the main program.

Q2
Q3
Q4
(DWord)
QV
Current count
Integer value range:
-2,147,483,648 to +2,147,483,647
Assigning operands
You can assign the following operands to the function block outputs that are numeric
outputs:
566
easyE402/24 MN050009ENEaton.com