Function Library 173
6.17 Multiple Axes Simultaneous Operation
@ Name
_8102_set_tr_move_all – Multi-axis simultaneous
operation setup
_8102_set_ta_move_all – Multi-axis simultaneous
operation setup
_8102_set_sr_move_all – Multi-axis simultaneous
operation setup
_8102_set_sa_move_all – Multi-axis simultaneous
operation setup
_8102_start_move_all – Begin a multi-axis
trapezoidal profile motion
_8102_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
_8102_set_tr_move_all().
When properly setup with _8102_set_xx_move_all(), the function
_8102_start_move_all() will cause all specified axes to begin a
trapezoidal relative movement, and _8102_stop_move_all() will
stop them. Both functions guarantee that motion Starting/Stopping
on all specified axes are at the same time. Note that it is neces-
sary to make connections according to Section 3.13 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},