14
High Speed Compare and Capture
DVP-PM Application Manual
14-10
(1) Control registers: D3, D2 = H5004
Æ
Data source: C204(Bit3-0=4); Enable Capture function
(Bit5-4=0); Trigger switch: X axis _DOG0(Bit15-12=5).
(2) Data registers: D5, D4 = K100
Æ
can be specified with a random value.
Step 3: Set M2. Active Capture function by TO instruction
Step 4: Set M3. Read the data set up in D0~D5 as below:
Step 5: Set M4 to set C204 counting mode as P/D (Pulse/direction) then set M5 to enable C204.
Step 6: Rotate the MPG to check if C204 is counting as below.
Step 7: Keep rotating the MPG and trigger DOG0 to capture the data immediately.
Step 8: Set M3 to read the the caught value. D44 stores C204 count value when DOG0 is triggered.
Summary of Contents for DVP-10PM
Page 1: ......
Page 45: ...2 Hardware Specifications and Wiring DVP PM Application Manual 2 30 MEMO...
Page 125: ...3 Functions of Devices in DVP PM DVP PM Application Manual 3 80 MEMO...
Page 341: ...8 Application Examples DVP PM Application Manual 8 2 Trajectory 3 Trajectory 4...
Page 427: ...9 Electrical CAM DVP PM Application Manual 9 74...
Page 437: ...10 Encrypting User Program DVP PM Application Manual 10 10 MEMO...
Page 458: ...11 G code Application DVP PM Application Manual 11 21 B O100 main program...
Page 561: ...14 Appendix DVP PM Application Manual 14 4 MEMO...