Chapter 12 High-Speed Comparison And High-Speed Capture; High-Speed Comparison And High-Speed Capture - Delta DVP-20PM Applications Manual

Hide thumbs Also See for DVP-20PM:
Table of Contents

Advertisement

12
12.1

High-speed Comparison and High-speed Capture

A DVP-20PM series motion controller sets and reads values by means of the instructions FROM and
TO. The use of FROM/TO to set high-speed comparison and high-speed capture, and to read values is
described below.
Control
Device
S
Initial group number n (n=0~7)
S
0
+1
(S
, S
)
Control register whose group number is n
+3
+2
(S
, S
)
Data registers whose group numbers are n
+5
+4
(S
, S
)
Control register whose group number is n+1
+7
+6
(S
, S
)
Data registers whose group numbers are n+1
+9
+8
:
:
(S
, S
)
Control register whose group number is n+7
+31
+30
(S
, S
)
Data registers whose group numbers are n+7
+33
+32
Data length=2+m*4
N
m=number of groups (8 groups at most can be used.)
Reading
Device
S
Initial group number n (n=0~7)
S
0
+1
(S
, S
)
Control register whose group number is n
+3
+2
(S
, S
)
Data registers whose group numbers are n
+5
+4
(S
, S
)
Control register whose group number is n+1
+7
+6
(S
, S
)
Data registers whose group numbers are n+1
+9
+8
:
:
(S
, S
)
Control register whose group number is n+7
+31
+30
(S
, S
)
Data registers whose group numbers are n+7
+33
+32
Data length=2+m*4
N
m=number of groups (8 groups at most can be used.)
Control/Reading
(1) The format of a control register in a high-speed comparison mode is described below.
Bi t
Item
DVP-20PM Application Manual
High-speed Comparison and High-speed Capture
X0
TO
Module
number
Control
X0
F RO M
Module
number
Reading the values in counters
13
12
15
14
11
10
Comparison result
S
K253
K1
Contr ol
Initial
regis ter
device
number
number
Resetting output
S
K253
K1
Contr ol
Initial
regis ter
device
number
number
9
8
7
6
5
Output
Conditi on
action
N
Data
length
Setting a range
devices
which is masked
0
1
N
Data
length
Reading the states of output
devices/Enabling capture
0
1
States of output devices
Enabling capture (8 bits)
4
3
2
1
0
Comparison source
0
2
12-1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents