6 motion status, 8144_motion_done, Motion status – ADLINK PCI-8144 User Manual

Page 135

Advertising
background image

Function Library

125

6.6

Motion status

_8144_motion_done

Get the motion command to stop or not

Description:

By this function, the user can monitor operation status.

Syntax:

I16 _8144_motion_done( I16 AxisNo, I16

*OperatingOrStop )

B_8144_motion_done( ByVal AxisNo As Integer,

OperatingOrStop As Integer) As Integer

Parameters:

I16 AxisNo

: The axis number is designated to receive the

command.

I16 *OperatingOrStop

: The information of wheather the

axis is operating or stopped.

Z

0: Stopped(not output pulse)

Z

1: Operating(output pulse)

Return Values:

ERR_ParametersInvalid

Card ID Physical axis AxisNo

0

0

0

1

1

2

2

3

3

1

0

4

1

5

2

6

3

7

2

0

8

...

...

Advertising