EasyManua.ls Logo

Delta DVP-20PM - High-Speed Capture

Delta DVP-20PM
580 pages
Print Icon
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...
12 High-speed Comparison and High-speed Capture
12.3 High-speed Capture
A deviation often occurs when the present position of an axis or the value in C200/C204 is read. To
prevent a deviation from occurring, users read a value immediately by setting an input terminal to ON.
Capture is described below.
(C) Data register n (n=0~7)
(B) Control register n (n=0~7)
(D) Capture source
(G)FROM K253 K1 D0 D50
(A)TO K253 K1 D0 D50
(F) Trigger
(E) Capture mode
Block (A): The instruction TO is used to write data into control registers (block B).
Block (B): Users set a capture source (block D), set bit 5~bit 4 to 0 (block E), and set a trigger (block F)
in a control register.
Block (C): The capture of a value (block D) is triggered by an input terminal, and the value captured is
stored in data registers.
Block (D): The present positions of three axes, the values in C200 and C204 are capture sources.
Block (E): Capture mode
Block (F): External trigger
Block (G): The instruction FROM is used to read data from control registers (block C) and data registers
(block B). The values stored in the data registers are values captured.
Procedure for a high-speed capture: The instruction TO is used to write data into control registers
(block A).An input terminal is set to ON (block F).The present position of the X-axis/Y-axis/Z-axis,
or the value in C200/C204 is captured (block D). The value captured is stored in data registers (block
C).Users read the value captured by means of the instruction FROM.
Example
【
Description】
Start the high-speed counter C204. The value in C204 is captured when X5 is set to ON. A manual
pulse generator is used, and is connected to A1± and B1±.
【Steps】
1. When M1002 in O100 is ON, the initial setting of high-speed capture is carried out.
(1) D0=0Initial group number n=0
(2) D1=0
(3) D20=6Writing 6 values by means of the instruction TO (Only one value is captured.)
(4) D60=10Reading 6 values by means of the instruction FROM (Only one value is captured.)
2. When M1 is ON, the high-speed capture is set.
(1) The value in (D3, D2) is H5005.The capture source set is C204. (The value of bit 3~bit 0 is
5). The mode selected is a capture mode. (The value of bit 5~bit 4 is 0.) The trigger selected
is X5. (The value of bit 15~bit 12 is 5.)
(2) The value in (D5, D4) is K100. Users can set (D5, D4) by themselves.
3. The high-speed capture is started when M2 is ON.
DVP-20PM Application Manual
12-6

Table of Contents