Syntax – ADLINK PCI-8102 User Manual

Page 178

Advertising
background image

Function Library

167

PCI-8102

This function is used to detect if the command pre-register is
empty or not. Once the command pre-register is empty, users may
write the next motion command into it. Otherwise, the new com-
mand will overwrite the previous command in the 2nd command
pre-register.

_8102_dwell_move:

This function is used to start a dwell move that means the move
does not cause real motion for a specific time.

Following example is shown how does the user

_8102_set_continuous_move( 2, 1 ); // start

continuous move

_8102_start_tr_move( 2, 20000.0, 10.0, 10000.0,

0.1, 0.1);

_8102_dwell_move( 2, 2000); //dwell move for 2

sec.

_8102_start_sr_move( 2, 20000.0, 10.0, 10000.0,

0.1, 0.1, 0, 0 );

_8102_set_continuous_move( 2, 0 ); //end

continuous move

@ Syntax

C/C++ (DOS, Windows 95/NT)

I16 _8102_set_continuous_move(I16 AxisNo, I16

conti_flag);

I16 _8102_check_continuous_buffer(I16 AxisNo);

I16 _8102_dwell_move(I16 AxisNo, F64 miniSecond);

Visual Basic (Windows 95/NT)

B_8102_set_continuous_move (ByVal AxisNo As

Integer, ByVal conti_flag As Integer) As

Integer

B_8102_check_continuous_buffer (ByVal AxisNo As

Integer) As Integer

B_8102_dwell_move(ByVal AxisNo As Integer, ByVal

miniSecond As Double) As Integer

Advertising