
130
_8154_stop_move_all
– Simultaneously stop Multi-axis motion
@ Description
Theses functions are related to simultaneous operations of multi-
axes, even in different cards. The simultaneous multi-axis opera-
tion means to start or stop moving specified axes at the same
time. The axes moved are specified by the parameter “AxisArray,”
and the number of axes are defined by parameter “TotalAxes” in
_8154_set_tr_move_all
().
When properly setup with
_8154_set_xx_move_all
(), the func-
tion
_8154_start_move_all
() will cause all specified axes to
begin a trapezoidal relative movement, and
_8154_stop_move_all
() will stop them. Both functions guaran-
tee that motion Starting/Stopping on all specified axes are at the
same time. Note that it is necessary to make connections accord-
ing to Section 1.7 on page 10 if these two functions are needed.
The following code demos how to utilize these functions. This
code moves axis 0 and axis 1 to distance 80000.0 and 120000.0
respectively. If we choose velocities and accelerations that are
proportional to the ratio of distances, then the axes will arrive at
their endpoints at the same time.
Example:
I16 axes[2] = {0, 1};
F64 dist[2] = {80000.0, 120000.0},
F64 str_vel[2] = {0.0, 0.0},
F64 max_vel[2] = {4000.0, 6000.0},
F64 Tacc[2] = {0.1, 0.6},
F64 Tdec[2] = {0.1, 0.6};
_8154_set_tr_move_all(2, axes, dist, str_vel,
max_vel, Tacc, Tdec);
_8154_start_move_all(axes[0]);
@ Syntax
C/C++(Windows XP/7/8.1)
I16 _8154_set_tr_move_all(I16 TotalAxes, I16
*AxisArray, F64 *DistA, F64 *StrVelA, F64
*MaxVelA, F64 *TaccA, F64 *TdecA);
Summary of Contents for PCIe-8154
Page 8: ...viii Table of Contents This page intentionally left blank ...
Page 10: ...x List of Tables This page intentionally left blank ...
Page 12: ...xii List of Figures This page intentionally left blank ...
Page 46: ...34 Getting Started This page intentionally left blank ...
Page 50: ...38 MotionCreatorPro Card Information Menu Provides Information about the card ...
Page 74: ...62 MotionCreatorPro This page intentionally left blank ...