User`s guide

94 Function Library
where A
opt
, is the best acceleration, V is the set_move_speed()
velocity, d is the segment length. If the acceleration is higher than A
opt
,
the linear portions may be noticeable. If the acceleration is lower than
A
opt
, the motion will be slowed during the arc and it will lose its
roundness. Both arc_xy() and arc_zu() automatically change the
acceleration to A
opt
during the circular interpolated move.
set_move_ratio:
This function configures scale factors for the specified axis. Usually,
the axes only need scale factors if their mechanical resolutions are
different. For example, if the resolution of feedback sensors is two
times resolution of command pulse, then ratio = 2.
@ Syntax
C/C++ (DOS, Windows 95/NT)
U16 map_axes(U16 n_axes, U16 *map_array)
U16 set_move_speed(F64 str_vel, F64 max_vel)
U16 set_move_accel(F64 Tacc)
U16 set_arc_division(F64 degrees)
U16 arc_optimization(U16 optimize)
U16 set_move_ratio(U16 axis, F64 ratio)
Visual Basic (Windows 95/NT)
map_axes (ByVal n_axes As Integer, map_array As
Integer) As Integer
set_move_speed (ByVal str_vel As Double, ByVal
max_vel As Double) As Integer
set_move_accel (ByVal accel As Double) As Integer
set_arc_division (ByVal axis As Integer, ByVal
degrees As Double) As Integer
arc_optimization (ByVal optimize As Long) As
Integer
set_move_ratio (ByVal axis As Integer, ByVal ratio
As Double) As Integer
@ Argument
axis: axis number designated to configure
n_axes: number of axes for coordinated motion
*map_array: specified axes number array designated to move.
str_vel: starting velocity in unit of pulse per second
max_vel: maximum velocity in unit of pulse per second
Tacc: specified acceleration time in unit of second
degrees: maximum angle between successive points along the arc.
ratio: ratio of (feedback resolution)/(command resolution)
@ Return Code
ERR_NoError