Chapter 7 Motion Control Functions
Capture Operation:
7.11.2 Compare Function
The Compare function is a reverse process of the Capture function. The items stored in
data array will be compared to the signal of a physical axis (main encoder, linear
encoder, or pulse train).
The Compare function uses the instant position of motion axis to compare with the
value which store in data array. When the compare conditions are satisfied, DO4 signal
will output immediately for motion control.
The signal to DO4 for Compare function is a physical signal and cannot be simulated
from software. It can complete precise Compare function for high-speed motion axis.
The characteristics of Compare function is described as follows:
Characteristics of Compare function
Sources
Three sources of Compare function:
Main encoder: Motor encoder
Auxiliary encoder: Linear scale
Pulse command: Pulse train
Capture axis (When the source is the capture axis, the capture
source setting can not be changed.)
The selected source axis will be displayed by P5-57. Before
executing Capture function, please set P5-57 first.
Capture axis
(P5-37)
Capture signal
(DI7)
DO signal:
CAP_OK
1 2 3 N
Data Array
…..
POS 1
POS 2
First point captured
POS 3
~
POS N
P5-39 X0=0 after Capture operation is
completed.
P5-38 Amount (Data Length)
P5-76
The first point is saved in P5-36
The second point is saved in P5-36+1
The third point is saved in P5-36+2
Enable Compare function
Call PR#50 when all in P5-38 captured completed.
P5-39 X0=1DO signal is reset when Capture
function is enabled next time.
7-40 Revision January 2011
Call 1(800)985-6929 for Sales
Call 1(800)985-6929 for Sales