Syntax – ADLINK PCI-8102 User Manual

Page 157

Advertising
background image

146

Function Library

Return the motion status of the 8102. The return code show as
below:

@ Syntax

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

I16 _8102_motion_done(I16 AxisNo);

Visual Basic (Windows 95/NT)

B_8102_motion_done (ByVal AxisNo As Integer) As

Integer

0

Normal stopped condition

1

Waiting for DR

2

Waiting for CSTA input

3

Waiting for an internal synchronous signal

4

Waiting for another axis to stop

5

Waiting for a completion of ERC timer

6

Waiting for a completion of direction change timer

7

Correcting backlash

8

Wait PA/PB

9

At FA speed

10

At FL Speed

11

Accelerating

12

At FH Speed

13

Decelerating

14

Wait INP

15

Others (Controlling Start)

16

SALM

17

SPEL

18

SMEL

19

SEMG

20

SSTP

21

SERC

Advertising