12 motion status – ADLINK PCI-8154 User Manual

Page 183

Advertising
background image

Function Library

173

6.12 Motion Status

@ Name

_8154_motion_done

– Return the motion status

@ Description

_8154_motion_done

:

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

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