5.6.7 Diagnostics and interrupt
GSDML
n
Edge at an digital interrupt input
Via the hardware configuration you can define the following trigger for a hardware inter-
rupt that can trigger a diagnostics interrupt:
n
Reaching the comparison value
n
Overflow respectively at overrun upper counter limit
n
Underflow respectively at underrun lower counter limit
n
Opening the HW gate with open SW gate - except for counter 3
n
Closing the HW gate with open SW gate - except for counter 3
5.7 Frequency measurement
5.7.1 Properties
n
In this operating mode the CPU counts the incoming pulses during a specified inte-
gration time and outputs them as frequency value.
n
Integration time 10ms ... 10000ms in steps of 1ms configurable
n
Control by the user program via SFB 48
More information about the usage of this block may be found in the
manual "SPEED7 Operation List" from VIPA.
1
Integration time
2
Counting pulse
3
SW gate
4
Frequency measurement start
5
Frequency measurement stop
n
The measurement is carried out during the integration time and is updated after the
integration time has expired.
n
If the period of the measured frequency exceeds the assigned integration time, this
means there was no edge 0-1 during the measurement, the measurement value 0 is
returned.
n
The calculated frequency value is supplied in "mHz" units.
n
The measurement value can be read with
MEAS_VAL
from SFB 48.
n
The number of activated channels does not influence the max. frequency, which is
defined in the technical data.
Overview
Measuring procedure
VIPA System MICRO
Deployment I/O periphery
Frequency measurement > Properties
HB400 | CPU | M13-CCF0000 | en | 16-47
117