User`s guide
Function Library • 91
6.9 Linear and Circular Interpolated Motion
@ Name
move_xy – Perform a 2-axes linear interpolated motion between X &
Y
move_zu – Perform a 2-axes linear interpolated motion between Z &
U
arc_xy – Perform a 2-axes circular interpolated motion between X &
Y
arc_xy – Perform a 2-axes circular interpolated motion between Z &
U
@ Description
move_xy, move_zu:
These two functions cause a linear interpolation motion between two
axes and wait for completion. The moving speed should be set before
performing these functions. Relations of speed between two axes are
given in Chapter 4.1.4.
arc_xy, arc_zu:
These two functions cause the axes to move along a circular arc and
wait for completion. The arc starts from origin and continues through
the specified angle. A positive value for angle produces clockwise
arcs and a negative value produces counter-clockwise arcs. The
center of the arc is specified by the parameters x_center and y_center.
set_arc_division() function specifies the maximum angle(in degrees)
between successive points along the arc. The default angle is 5
degrees. The moving speed should be set before performing these
functions.
@ Syntax
C/C++ (DOS, Windows 95/NT)
U16 move_xy(I16 cardNo, F64 x, F64 y)
U16 move_zu(I16 cardNo, F64 z, F64 u)
U16 arc_xy(I16 cardNo, F64 x_center, F64 y_center,
F64 angle)
U16 arc_zu(I16 cardNo, F64 z_center, F64 u_center,
F64 angle)
Visual Basic (Windows 95/NT)
move_xy (ByVal cardno As Long, ByVal x As Double,
ByVal y As Double) As Integer
move_zu (ByVal cardno As Long, ByVal z As Double,
ByVal u As Double) As Integer
arc_xy (ByVal cardno As Long, ByVal x_center As
Double, ByVal y_center As Double, ByVal angle As
Double) As Integer