Linear interpolated motion, 9 linear interpolated motion – ADLINK PCI-8134A User Manual

Page 101

Advertising
background image

Function Library

91

6.9

Linear Interpolated Motion

@ Name

move_xy – Perform a 2-axes linear interpolated motion between X & Y
and wait for finish
move_zu – Perform a 2-axes linear interpolated motion between Z & U
and wait for finish
start_move_xy – Start a 2-axes linear interpolated motion between X &
Y
start_move_zu – Start a 2-axes linear interpolated motion between Z &
U

@ Descriptionmove_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.

start_move_xy, start_move_zu:

These two functions cause a linear interpolation motion between two
axes without waiting for completion. After issuing this function, it will
start to move and leave the function at the same time.

@ Syntax

C/C++ (DOS, Windows)

U16 move_xy(I16 cardNo, F64 x, F64 y)
U16 move_zu(I16 cardNo, F64 z, F64 u)
U16 start_move_xy(I16 cardNo, F64 x, F64 y)
U16 start_move_zu(I16 cardNo, F64 z, F64 u)

Visual Basic (Windows)

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

start_move_xy (ByVal cardno As Long, ByVal x As Double,

ByVal yAs Double) As Integer

start_move_zu (ByVal cardno As Long, ByVal z As
Double, ByVal u As Double) As Integer

@ Argument

cardNo: card number designated to perform interpolating function.
x, y, z, u: absolute target position of linear interpolation motion

@ Return Code

ERR_NoError

Advertising