5.6.8 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
Chapter 5.7.4 ‘SFB 48 - FREQUENC - Frequency
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
- FREQUENC - Frequency measurement’ on page 131
n
The number of activated channels does not influence the max. frequency, which is
defined in the technical data.
Overview
Measuring procedure
VIPA System SLIO
Deployment I/O periphery
Frequency measurement > Properties
HB300 | CPU | 013-CCF0R00 | en | 16-40
128