EasyManua.ls Logo

Delta DVP-PM Series

Delta DVP-PM Series
561 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
14 High Speed Compare and Capture
DVP-PM Application Manual
14-1
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 K253 K1
D0 D50
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
01234567891011
1213
1415Bit
Settings
Output
action
Output terminals
and counte rs
Compare
method
Data source for
comparison
Bit SV 20PM 10PM
0 CP of X axis CP of X axis
1 CP of Y axis CP of Y axis
2 CP of Z axis CP of Z axis
3 C200 count value CP of A axis
4 C204 count value C200 count value
5
C204 count value
6
C208 count value
Data source for
comparison
[0-3]
7
C212 count value
1
2
Compare mehod [5-4]
3
0 Set Set
1 Reset Reset
Output action [7-6]
2, 3
No action
0 CLR0 Y0
1 CLR1 Y1
Output terminal
and counters
[11-8]
2 Y2 Y2

Table of Contents

Related product manuals