2 change position on the fly, Change position on the fly – ADLINK PCI-8164 User Manual

Page 141

Advertising
background image

Operation Theory

129

4.6.2 Change position on the fly

When operating in single-axis absolute pre-set motion, it is possi-
ble to change the target position during moving by using the func-
tion _8164_p_change().

Theory of _8164_p_change():

The _8164_p_change() is only applicable for the
_8164_start_ta_move(), and _8164_start_sa_move()

functions. This function changes the target position, defined
originally by these two functions. After changing position, the
axis will move to the new target position and totally disregard
the original position. If the new position is in the passed path, it
will cause the axis to decelerate and eventually stop, then
reverse, as shown in the chart. The acceleration and decelera-
tion rate, and StrVel and MaxVel are kept the same as the orig-
inal setting.

Advertising