High Speed Compare And Capture Function - Delta DVP-PM Series Applications Manual

Table of Contents

Advertisement

14.1 High Speed Compare and Capture Function

DVP-PM supports 8 sets of registers for high-speed Compare and Capture function. Through FROM/TO
instructions we can access CR253 for setting the control status or reading the data for high speed Compare or
Capture function. The below table explains the settings of FROM/TO instructions and the relative registers.
Setting control registers
X0
TO
D0
The number of the starting set: n (n=0~7, 8 sets)
D1
0
D3,D2
Control register of the n set: CRn
D5,D4
Data register of the n set: DRn
D7,D6
Control register of the n+1 set: CRn+1
D9,D8
Data register of the n+1 set: DRn+1
D31,D30
Control register of the n+7 set: CRn+7
D33,D32
Data register of the n+7 set: DRn+7
D50
Data length: 2+m*4 (1 set of registers: 4 words). m: number of sets. Max: 8 sets.
(1) Setting format of control registers (CRn) for high-speed Compare function
Bit
15
Setting s
Data source for
comparison
Compare mehod
Output action
Output terminal
and counters
DVP-PM Application Manual
14
K253
K1
14
13
12
11
10
O utput ter mi nals
and c oun te rs
Bit
SV
0
CP of X axis
1
CP of Y axis
2
CP of Z axis
3
C200 count value
[0-3]
4
C204 count value
5
6
7
1
[5-4]
2
3
0
Set
[7-6]
1
Reset
2, 3
[11-8]
0
CLR0
1
CLR1
2
Y2
High Speed Compare and Capture
D0
D50
9
8
7
6
5
C ompa re
O utput
m ethod
ac tion
20PM
4
3
2
1
D ata so urc e for
c omp aris on
10PM
CP of X axis
CP of Y axis
CP of Z axis
CP of A axis
C200 count value
C204 count value
C208 count value
C212 count value
Set
Reset
No action
Y0
Y1
Y2
0
14-1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dvp-20pmDvp-10pm

Table of Contents