
5
Counter & Timer
5.1
Counter
C
o u n t e r
S
o
u
r
c
e
.
.
.
A c t i v a t i o n
R
i s i n g E d g e
F a l l i n g E d g e
B o t h E d g e s
S
o
u
r
c
e
.
.
.
A c t i v a t i o n
R i s i n g E d g e
F a l l i n g E d g e
B o t h E d g e s
S
o
u
r
c
e
.
.
.
A c t i v a t i o n
R i s i n g E d g e
F a l l i n g E d g e
B o t h E d g e s
C o u n t e r
T r i g g e r
C o u n t e r
E v e n t
C o u n t e r
R e s e t
T i m e S t a m p
T i c k
C o u n t e r D u r a t i o n
C o u n t e r S t a r t V a l u e
C o u n t e r V a l u e
C o u n t e r S t a t u s
C o u n t e r R e s e t ( )
C o u n t e r V a l u e A t R e s e t
C o u n t e r A c t i v e
C o u n t e r S t a r t
C o u n t e r E n d
Figure 5.1: Counter Structure
Four general purpose counters are available (Counter0 . . . Counter3) which are used for
counting events. Each counter can be individually configured by software and controlled by
counter trigger, counter event and counter reset signals. This section describes the
configuration and the function of the counters.
Fig. 5.1 shows the structure of one counter. Along with the counter function itself it contains a
counter trigger source, a counter event source and a counter reset source selection and
activation block. Furthermore there is a counter active status signal, which is available in the
I/O control block (see Chapter 7). And the counter generates counter start and counter end
events, which can be used to trigger other blocks, like counter, timer, acquisition, frame or
exposure control.
5.1.1
Counter Usage
In a basic usage, at least a counter event source needs to be selected (see Section 5.1.5 for more
information about the counter event source selection). Once an event source has been
selected, the counter needs to be reset in order to start the counter. When started it counts
from a defined start value, which is configurable by the CounterStartValue property, and ends
counting events after a certain number of events, which is configurable by the
CounterDuration property.
MAN082 09/2019 V1.0
39 of 125
Содержание MV0 3D06 Series
Страница 10: ...1 Preface 10 of 125 MAN082 09 2019 V1 0...
Страница 20: ...3 Product Specification 20 of 125 MAN082 09 2019 V1 0...
Страница 38: ...4 Image Acquisition 38 of 125 MAN082 09 2019 V1 0...
Страница 48: ...5 Counter Timer 48 of 125 MAN082 09 2019 V1 0...
Страница 58: ...9 Image Format Control 58 of 125 MAN082 09 2019 V1 0...
Страница 62: ...10 Frame Rate 62 of 125 MAN082 09 2019 V1 0...
Страница 88: ...11 Image Data Processing 88 of 125 MAN082 09 2019 V1 0...
Страница 92: ...12 Precautions 92 of 125 MAN082 09 2019 V1 0...
Страница 100: ...13 Hardware Interface 100 of 125 MAN082 09 2019 V1 0...
Страница 104: ...14 Mechanical Considerations 104 of 125 MAN082 09 2019 V1 0...
Страница 106: ...15 Troubleshooting 106 of 125 MAN082 09 2019 V1 0...
Страница 112: ...18 Support and Repair 112 of 125 MAN082 09 2019 V1 0...
Страница 114: ...19 References 114 of 125 MAN082 09 2019 V1 0...
Страница 125: ...D Document Revision History Revision Date Change 1 0 September 2019 First version MAN082 09 2019 V1 0 125 of 125...