|
A Compare object manages a compare engine in the motion
controller hardware. The compare engine compares the actual position
feedback from a motor to a preloaded position value. When the actual
position feedback exceeds the value, the compare engine sets an
output bit to the specified state. Since the compare occurs in hardware,
the latency is minimal.
Typically, the MPI is used to configure the compare engine, load
the compare value, and arm the compare. The condition of the compare
engine can be determined by reading its status.
|